Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Good Morning
I am trying to calculate a target at the top level, the dax i am using is calculating at row level but then adding this up for the top level.
This is the code i am using
Solved! Go to Solution.
Hi, @Anonymous
You can try the following methods.
Sample data:
Measure:
Total = IF(HASONEVALUE('Table'[Course Code]),SUM('Table'[Value]),MAX('Table'[Value]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You can try the following methods.
Sample data:
Measure:
Total = IF(HASONEVALUE('Table'[Course Code]),SUM('Table'[Value]),MAX('Table'[Value]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
I am still getting the 96 not the 48
Hi @Anonymous ,
Need some clarity. Are you expecting the result as below?
Good Morning,
yes those are the results i am expecting
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.