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
Uzh17
Frequent Visitor

Assistance with the calculation, excluding certain values

Hello, I need help with a formula that will filter a condition: if the value is less than 150, it should not be included in the calculation.
What do I have now:
11

And what is needed:

 

22

 

How is availability calculated

Availability = SUMX(Values(Customers[Customer]), CALCULATE(([TesterRunTimeHrs] + [Ava_Handling_ODB])) / SUM('Shift report'[Run]))

Thank you.
2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Uzh17 ,

 

What about adding a filter to the visual?

Add a filter to a report in Power BI - Power BI | Microsoft Learn

For example, this is the table visual contains the value which is less than 150.

vstephenmsft_0-1695194125923.png

After the filter is added, the values are greater than 150.

vstephenmsft_1-1695194185454.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

Hi, I found other solution. Thanks for you time and help.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Uzh17 ,

 

What about adding a filter to the visual?

Add a filter to a report in Power BI - Power BI | Microsoft Learn

For example, this is the table visual contains the value which is less than 150.

vstephenmsft_0-1695194125923.png

After the filter is added, the values are greater than 150.

vstephenmsft_1-1695194185454.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Hi, I found other solution. Thanks for you time and help.
nirali_arora
Resolver II
Resolver II

Firstly create a measure of sum of 1st tests and use the formula 

Availability = filter(Values(Customers[Customer]), [sum of 1st tests] > 150), CALCULATE(([TesterRunTimeHrs] + [Ava_Handling_ODB])) / SUM('Shift report'[Run]))

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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