Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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, @maurcollins
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, @maurcollins
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 @maurcollins ,
Need some clarity. Are you expecting the result as below?
Good Morning,
yes those are the results i am expecting
User | Count |
---|---|
130 | |
108 | |
101 | |
67 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |