Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi
I ahve a table like this
Group Team Countofstories stories completed
AA 1 20 30
AA 2 45 25
BB 4 65 48
BB 5 15 30
How can do an divide agregation by "Group" using the last two measures? For example for Group AA agreagate the two teams sum--something like this : 20+45/30+25
Thanks
Solved! Go to Solution.
@Anonymous Maybe:
Measure =
DIVIDE(
CALCULATE([Measure1],ALLEXCEPT([Group]),
CALCULATE([Measure2],ALLEXCEPT([Group]),
0
)
Hi @Anonymous ,
Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thank you very much for your kind cooperation!
Hope it helps,
Community Support Team _ Caitlyn
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Maybe:
Measure =
DIVIDE(
CALCULATE([Measure1],ALLEXCEPT([Group]),
CALCULATE([Measure2],ALLEXCEPT([Group]),
0
)
Thanks for the answer.. I tried to use it by replacing my original dax query but I am getting this error. after line 3 was the original dax query that I needed to rewrite.
@Anonymous, this is a fine approach but you'll need to clean up the syntax a bit to add missing parenthesis and table name references.
Ratio =
DIVIDE (
CALCULATE ( [Count of stories], ALLEXCEPT ( Table1, Table1[Group] ) ),
CALCULATE ( [Stories completed], ALLEXCEPT ( Table1, Table1[Group] ) ),
0
)
Thanks for the answer.. I tried to use it by replacing my original dax query but I am getting this error. after line 3 was the original dax query that I needed to rewrite.
Your BLANK() is inside the last CALCULATE. That's what the syntax error is about.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 77 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |