Forum Discussion
Anonymous
3 years agoNot applicable
calculating a target
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 Measure =...
- 3 years ago
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.
Aburar_123
3 years agoSolution Supplier
Hi Anonymous ,
Need some clarity. Are you expecting the result as below?
Course Code total_applicants
1 48
1.1 48
1.2 48
2 25
2.1 25
2.2 25
- Anonymous3 years agoNot applicable
Good Morning,
yes those are the results i am expecting