Forum Discussion
HaiQuan
3 years agoRegular Visitor
Dax command
I have two tables, and the PrimaryKey is Class. I need a dax to calculate the sum of now divided by the sum of max when there is a filter Quarter.
Hi HaiQuan
Please tryResultMeasure = CALCULATE ( DIVIDE ( SUM ( Table1[now] ), SUM ( Table1[max] ) ), Table1[class] IN VALUES ( Table2[class] ) )