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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
danielakunz
Helper I
Helper I

Filter KPI by value of measure

Hello,

 

I have a measure in my Power BI Report that calculates a Total score based on two other measures.

 

Score cases = DISTINCTCOUNT('Cases - Overview'[Case ID])*2
Score missions = DISTINCTCOUNT(Missions[Mission ID])*10
Total score = [Score missions]+[Score cases]
 
This measure is evaluated by machine ID, meaning I get a score per machine that shows how many cases and missions a machine has based on the score.
 
I want to set an alert in my Power BI Dashboard, if a machine reaches a score of 50 points.
I thought about using a KPI visual that counts the number of machine ID, while the filter "Total score > 50" is applied. Then I set the alert on the KPI visual reaching a value > 0.
 
However, I can't set a filter with Total score for the KPI visual. What am I doing wrong?
Is there another way to get the alert?
 
Thank you!

Daniela
 
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @danielakunz,

So you want to set a filter based naggrated result instead of underline records values, right?

If this is a case, you can consider writing a measure formula with variables that aggregate total level records and compare with the current result and use it on the visual level filter to filter records.

Applying a measure filter in Power BI 

Measure Totals, The Final Word 

If the above not help, please share some dummy data and expected results to help us clarify your scenario and test coding formula.

How to Get Your Question Answered Quickly 
Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @danielakunz,

So you want to set a filter based naggrated result instead of underline records values, right?

If this is a case, you can consider writing a measure formula with variables that aggregate total level records and compare with the current result and use it on the visual level filter to filter records.

Applying a measure filter in Power BI 

Measure Totals, The Final Word 

If the above not help, please share some dummy data and expected results to help us clarify your scenario and test coding formula.

How to Get Your Question Answered Quickly 
Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Pragati11
Super User
Super User

Hi @danielakunz ,

 

You can create data alerts in Power BI Service based on your metric. Check the folllowing link:

https://docs.microsoft.com/en-us/power-bi/create-reports/service-set-data-alerts

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Unfortunately, that doesn't fix my problem. I know how to set an alert. My problem is I can't build a tile that displays the right data.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.