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 All,
I have the following SWITCH statement:
Solved! Go to Solution.
Hi @Anonymous
there is no need to use the switch function, null ( blank ) is 0 and it will work fine when adding numbers and in Rank.
Please see the below and the attached
Measure =
RANKX(
ALLSELECTED( 'Table'[ID] ),
[Current Wave] - [Prewious Wave]
)
Thanks for the solution!
Hi @Anonymous
there is no need to use the switch function, null ( blank ) is 0 and it will work fine when adding numbers and in Rank.
Please see the below and the attached
Measure =
RANKX(
ALLSELECTED( 'Table'[ID] ),
[Current Wave] - [Prewious Wave]
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |