How can I reference the columns of a table stored in a DAX variable? Including my code below- thank you!
measure =
VAR min_dates =
//get the min order date for each customer
SUMMARIZECOLUMNS(Orders[Customer ID],"min_date",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.