Forum Discussion
Anonymous
9 years agoNot applicable
Left join in dax
Hi all, What method should I be using if I were to achieve the same results as below? SQL query: It is similar to this: Customer Table Cust...
- 9 years ago
Anonymous,
You may use DAX below to add a measure to Customer table.
Measure = VAR Cust_id = MAX ( Customer[Cust_id] ) RETURN SUMX ( FILTER ( Customer_details, Customer_details[Cust_id] = Cust_id ), Customer_details[Total] )
v-chuncz-msft
9 years agoCommunity Support
Anonymous,
You may use DAX below to add a measure to Customer table.
Measure =
VAR Cust_id =
MAX ( Customer[Cust_id] )
RETURN
SUMX (
FILTER ( Customer_details, Customer_details[Cust_id] = Cust_id ),
Customer_details[Total]
)