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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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?

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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