Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |