title: DAX - Reference Columns in a Virtual Table
body: <p>How can I reference the columns of a table stored in a DAX variable? Including my code below- thank you!</p>
  <pre><code>measure = 
  
  VAR min_dates = 
  
  //get the min order date for each customer
  SUMMARIZECOLUMNS(Orders[Customer ID],&quot;min_date&quot;,MIN(Orders[Order Date]))
  
  RETURN
  
  min_dates
  
  // what I want to do here is take the table I created above (min_dates) and do the following: 
  // 1) group_by min_date
  // 2) count(distinct) Customer ID
  
  // What I'm struggling with is how to reference the columns created in the min_dates table above. 
  
  </code></pre>