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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dominik_thoe
Frequent Visitor

Filter table

Hello,

I have to table visuals based on the same table (Account).

 

Structure first visual

Account, Classification, Segment, Parent Account

 

Structure second visual

Parent Account, Account, Classification, Segment

 

I want to filter the second visual by the Parent Account that I select in the first visual to see all accounts that are linked to the Parent Account including their assigned Classification/Segment. The standard function filters the second visual with all objects, not only the Parent Account. 

Any idea how I can solve this?

 

thanks

Dominik

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @dominik_thoe 

I create a sample pbix file,please check it for  more details.

In order to avoid cross filtering of fields in a table, you need to copy the table to create another independent  table visual.

Then create a visual control measure and  drag it to table visual filter pane to filter data.

Visual control = 
VAR flag =
    IF (
        SELECTEDVALUE ( 'Table copy'[Parent Account] )
            = SELECTEDVALUE ( 'Table1'[Parent Account] ),
        1,
        0
    )
RETURN
    IF ( ISFILTERED ( Table1[Parent Account] ), flag, 1 )

21.png

 

The result will show as below:

23.png

 

Best Regards,
Community Support Team _ Eason

 

View solution in original post

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi, @dominik_thoe 

I create a sample pbix file,please check it for  more details.

In order to avoid cross filtering of fields in a table, you need to copy the table to create another independent  table visual.

Then create a visual control measure and  drag it to table visual filter pane to filter data.

Visual control = 
VAR flag =
    IF (
        SELECTEDVALUE ( 'Table copy'[Parent Account] )
            = SELECTEDVALUE ( 'Table1'[Parent Account] ),
        1,
        0
    )
RETURN
    IF ( ISFILTERED ( Table1[Parent Account] ), flag, 1 )

21.png

 

The result will show as below:

23.png

 

Best Regards,
Community Support Team _ Eason

 

Hello @v-easonf-msft 

thanks for your help!!

PaulDBrown
Community Champion
Community Champion

@dominik_thoe 

Can you please show a depiction of the model you have, and how the tables are related?

Can you please also read this important post?
How to get your question answered quickly 
thanks





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi Paul.

I use only one table: Account. Data from connected tables is not used in the visual.

I want to filter the second table by the parent account only and not by classification, segment and frequency to display all accounts with parent account 1004969 (see grren box).

Hope this helps.

table_filter2.png

 

thanks

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.