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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Filter table if a measure is selected

Hi,

 

I have a pie chart that has two measures in as values: Accounts Above and Accounts Below. These measures count the account numbers whose totals are above a certain value and count those below. 

 

If I select on the Accounts Above piece of the pie chart, I want to filter the table by only showing the Account Numbers whose totals are above the certain value. And if I select on the Accounts Below piece of the pie chart, I want to filter a table by only showing the Account Numbers whose totals are below the certain value.

 

Any idea how I can achieve this?

3 REPLIES 3
amitchandak
Super User
Super User

Is it a grouped value or line-level value?

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
Anonymous
Not applicable

Grouped

@amitchandak

If you want to replace the measure

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

If you need to filter values

measure = calculate([measure3],filter(table,[measure4]>0)

or

measure = calculate([measure3],values(Table[ID]),filter(table,[measure4]>0) //level at which you want to filter in values

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors