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 am working on a report and have a measured column like this:
this column is ranges for distribution but the problem is, dax picks up blank values and place them in 0 to 1 and it messes up everything.
Also, if I use ISBLANK then 0-1 is missing and there is no option to see it in visuals.
please help.
Solved! Go to Solution.
Hi @Anonymous
Create a calculated column like this :
Ranges 1 = SWITCH(TRUE(),ISBLANK('Table'[length]),BLANK(),
'Table'[length]>=0 && 'Table'[length]<1,"0 to 1",
'Table'[length]>=1 && 'Table'[length]<2,"1 to 2",
'Table'[length]>=2 && 'Table'[length]<3,"2 to 3",
'Table'[length]>=3 && 'Table'[length]<4,"3 to 4",
'Table'[length]>=4 && 'Table'[length]<5,"4 to 5")
The final result is as shown :
I have attached my pbix file ,you can refer to it .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Create a calculated column like this :
Ranges 1 = SWITCH(TRUE(),ISBLANK('Table'[length]),BLANK(),
'Table'[length]>=0 && 'Table'[length]<1,"0 to 1",
'Table'[length]>=1 && 'Table'[length]<2,"1 to 2",
'Table'[length]>=2 && 'Table'[length]<3,"2 to 3",
'Table'[length]>=3 && 'Table'[length]<4,"3 to 4",
'Table'[length]>=4 && 'Table'[length]<5,"4 to 5")
The final result is as shown :
I have attached my pbix file ,you can refer to it .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |