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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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]
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |