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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello All,
I have a table visual data in the below format and trying to get the count of servers which satifies these "Range_Measure " condition.
Please note that the columns
(Actual_Uptime% is a calculated column & Range_Measure is a measure.
| ServerName | Actual_Uptime % | Range_Measure |
| AB1 | 100 | Above 99.99% |
| AB2 | 100 | Above 99.99% |
| AB3 | 100 | Above 99.99% |
| AB4 | 95 | Between 99% to 95% |
| AB5 | 99 | Between 99% to 95% |
| AB6 | 90 | Below 95% |
| AB7 | 75 | Below 95% |
| AB8 | 100 | Above 99.99% |
| AB9 | 100 | Above 99.99% |
| AB10 | 100 | Above 99.99% |
| BC1 | 99 | Between 99% to 95% |
| BC2 | 99 | Between 99% to 95% |
| BC3 | 99 | Between 99% to 95% |
| BC4 | 90 | Below 95% |
| BC5 | 75 | Below 95% |
| BC6 | 99 | Between 99% to 95% |
| BC7 | 99 | Between 99% to 95% |
| BC8 | 99 | Between 99% to 95% |
| BC9 | 90 | Below 95% |
| BC10 | 99 | Between 99% to 95% |
| BC11 | 99 | Between 99% to 95% |
| BC12 | 90 | Below 95% |
| CD1 | 100 | Above 99.99% |
| CD2 | 100 | Above 99.99% |
| CD3 | 100 | Above 99.99% |
| CD4 | 100 | Above 99.99% |
| CD5 | 100 | Above 99.99% |
| CD6 | 100 | Above 99.99% |
| CD7 | 95 | Between 99% to 95% |
| CD8 | 99 | Between 99% to 95% |
I should be able to get the output as below through a Card visual.
Range Measure | Total Count |
Above 99.99% | 12 |
Below 95% | 6 |
Between 99% to 95% | 12 |
Solved! Go to Solution.
Hi @Suprith ,
Based on your description, I suggest you can create a calculated column and try again.
Range_Column =
var x1='CASE'[Actual_Uptime %]
return
IF(
x1<95,
"Below 95%",
IF(
x1>99.99,
"Above 99.99%",
"Between 99% to 95%"
)
)
Total Count = COUNT(CASE[Range_Column])
Result:
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Suprith ,
Based on your description, I suggest you can create a calculated column and try again.
Range_Column =
var x1='CASE'[Actual_Uptime %]
return
IF(
x1<95,
"Below 95%",
IF(
x1>99.99,
"Above 99.99%",
"Between 99% to 95%"
)
)
Total Count = COUNT(CASE[Range_Column])
Result:
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Range Measure would need to be created as a calculated column in order for you to use it in a card visual in the way you want. Not sure if this post will help, but Power BI Order of Operations is a good thing to understand inside out.
Do you have the Range Measure working successfully? Try it as a Calculated Column and see if this helps give you the results you want. Otherwise, please clarify what is working and what is NOT working so we can help better.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |