Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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]
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 42 | |
| 30 | |
| 24 |