Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Creating an Reliability Level depending on some values

I want to measure the reliability that I station in a production line has
we evaluate 4 differente categories and those categories has some others sub categories 

what I want to achieve is this 
If the number of events (sum) is < 50 reliability = High
If number of events >= 50 and <75 reliability = Regular

If number of events >=75 and <99 reliability = Medium
If number of events >= 99 and <140 reliability = Bad
If number of events >140 reliability = Non-Reliable

I use this formula but it shows all as "High Reliability" which is incorrect due that some stations have more than 140 events 

Reliability = IF(
Actuadores[Eventos] <50,"High",
IF(AND(Actuadores[Events] >= 50,Actuadores[Events] <75),"Regular",
IF(AND(Actuadores[Events] >= 75, Actuadores[Events] <99),"Medium",
IF(AND(Actuadores[Events] >= 99, Actuadores[Events] <140),"Bad",
IF(Actuadores[Eventos] >140,"Non Reliable")))))


I have to remark that this formula is going to be filtered to a specific station and on the last 2 days of records 
not all of them just Today's and Yesterday's values 



1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , if this a measure (Events) and you are creating a column this will not work. The measure can not be used.

To create a bucket on measure you need an independent table and use that to create a new measure that can use this independent table.

 

Refer if my video can help https://www.youtube.com/watch?v=CuczXPj0N-k

 

or

https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Since you want the result to respond to change in slicer selections, you must follow the procedure of dynamic segmentation discussed here - https://www.daxpatterns.com/dynamic-segmentation/.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Your video was really helpful 

amitchandak
Super User
Super User

@Anonymous , if this a measure (Events) and you are creating a column this will not work. The measure can not be used.

To create a bucket on measure you need an independent table and use that to create a new measure that can use this independent table.

 

Refer if my video can help https://www.youtube.com/watch?v=CuczXPj0N-k

 

or

https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.