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
I want to create a measure wherein if the value comes in a specific range, I want to show that value in text as either "Low" or "Medium" or "High".
If value is between 0-30, the value on chart should reflect as Low
If value is between 31-70, the value on chart should reflect as Low
If value is between 71-100, the value on chart should reflect as High
Pls help sir..
Solved! Go to Solution.
Hi @harshadrokade .
You can use
measure=IF(table name[column name]<=30,"Low",
IF(table name[column name]>70,"High","Medium")).
Regards,
Sanket Bhagwat.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@harshadrokade, @SanketBhagwat's formula will work but I would recommend using SWITCH(TRUE()...) syntax as it tends to be cleaner. Also, place your most likely cases first as this will optimize performance.
Thanks a lot Sanket. Appreciate your help
@harshadrokade, @SanketBhagwat's formula will work but I would recommend using SWITCH(TRUE()...) syntax as it tends to be cleaner. Also, place your most likely cases first as this will optimize performance.
Thanks a lot Greg. Appreciate your help sir.
Hi @harshadrokade .
You can use
measure=IF(table name[column name]<=30,"Low",
IF(table name[column name]>70,"High","Medium")).
Regards,
Sanket Bhagwat.
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 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |