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
Tybaal
Helper II
Helper II

Select all the value in a visual table column

Hello all, 

 

I have a page with two tables in my report and I would like to filter the bottom table with only the contracts that are present in the top table.

 

I know that I can select the contracts in the top table with CTRL+Click but I'd like it to be automatic.

Here is exactly how it works :

First, I have this visual table in my report, Value 1, Value 2 and Diff are measures :

Tybaal_0-1619083825678.png

The second visual table in my report is quite the same but with a dimension "Origin" which separate my rows :

Tybaal_1-1619083926770.png

I created a button to filter the first visual table to show only diff <> 0, which give me that :

Tybaal_2-1619084066413.png

What I'd like to have is that the bottom visual table filtered on only the contracts in the top one after filtered on diff <> 0, but I cannot apply the diff <> 0 filter because of the "Origin" dimension (the diff is  always <> 0) :

Tybaal_3-1619084211461.png

Do you have a tips to do this type of operation?

 

Thank you in advance.

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Tybaal , Try measure like

new  value 1 =

calculate([value1], filter(Table, calculate([Value1] -[value2], filter(all(Table), Table[contract] =max(Table[Contract]))) <> 0 ))

 

New Value 2 =

calculate([value2], filter(Table, calculate([Value1] -[value2], filter(all(Table), Table[contract] =max(Table[Contract]))) <> 0 ))

 

New diff =

calculate([Diff], filter(Table, calculate([Value1] -[value2], filter(all(Table), Table[contract] =max(Table[Contract]))) <> 0 ))

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