Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm wanting to create a league table/scorecard and I'm having problems with the DAX. I've gone for a IF statement but I'm not sure it will work because it won't be an accumulation of all the figures.
Score Card =
IF([OS], [OS] +2,
IF([DP], [DP] +3,
IF([C], [C] -1,
IF([DS], [DS] -2,
IF('Appointment - Measures'[Appointments], 'Appointment - Measures'[Appointments] + 1 )))))
This is what the scorecard current looks like, the OS, DP, C DS and Appointment figures are all accurate.
The scoring is fairly simple.
If you get 1 OS, then + 2 to the score
If you get 1 DP, then + 3 to the score
If you get 1 C, then - 1 to the score
If you get 1 DS, then - 2 to the score
If you get 1 Appointment, then + 1 to the score
So for example, the top row should have a score of 20 rather than 7
Any suggestions welcome
Thanks,
Mike
Solved! Go to Solution.
Try this:
Score Card =
([OS] * 2) +
([DP] * 3) +
([C] * -1) +
([DS] * -2) +
'Appointment - Measures'[Appointments]
Try this:
Score Card =
([OS] * 2) +
([DP] * 3) +
([C] * -1) +
([DS] * -2) +
'Appointment - Measures'[Appointments]
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |