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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
WTAS80486
Helper IV
Helper IV

filter table below based on DAX measure

I have a table on a report with columns ID, site, GM. Two graphs on the same page which should show clustered bar graph with total count of ID without GM by different sites and total count of ID with GM by different sites. now when I select a site bar (ex: ABC) on 'total count of ID without GM' graph with total ID without GM 25k, then the table below should only show those IDs which do not have any GM for site ABC

 

So, in the below visual when i select first bar in ID without GM it should show only blank GM rows for the site selected (ABC)

 

WTAS80486_0-1691598510122.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @WTAS80486,

I'd like to suggest you write a measure formula with conditions to compare with current row count and return flag.
After these steps, you can use this on the visual level filter to filter records based selections.

Applying a measure filter in Power BI - SQLBI

If you are confused about coding formula, can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @WTAS80486,

I'd like to suggest you write a measure formula with conditions to compare with current row count and return flag.
After these steps, you can use this on the visual level filter to filter records based selections.

Applying a measure filter in Power BI - SQLBI

If you are confused about coding formula, can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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