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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors