Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
Solved! Go to Solution.
Hi @HaiQuan
Please try
ResultMeasure =
CALCULATE (
DIVIDE ( SUM ( Table1[now] ), SUM ( Table1[max] ) ),
Table1[class] IN VALUES ( Table2[class] )
)
Hi @HaiQuan
Please try
ResultMeasure =
CALCULATE (
DIVIDE ( SUM ( Table1[now] ), SUM ( Table1[max] ) ),
Table1[class] IN VALUES ( Table2[class] )
)
Thank you bro, it works, nb!
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
16 | |
14 | |
11 | |
9 |