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! Request now

Reply
Anonymous
Not applicable

Selected Value DAX

Hi,

 

I have two tables : Example - 

 

Table 1 -                         Table 2 -

   Key       Test                       Key       Production

    A           Version 1                D           Version 1

    B           Version 2                 E           Version 2

    C           Version 3                 F           Version 3

 

I have added Table 1 "Test" column to "Filter on all pages" in PBI desktop. My scenario is when a user selects a version from the filter - ([Test] Version 1,[Test] Version 2 or [Test] Version 3),  Is there a way I can filter table 2 to show the exact value? I mean if user selects "Version 1" from "filter on all pages", Table 2 should get filtered to show only "Version 1"

 

Any help is highly appreciated. Thanks.

 

1 ACCEPTED SOLUTION

This is what I want to suggest

Untitled Diagram.png

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

View solution in original post

7 REPLIES 7
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Create a relationship between TABLE1 and TABLE2 using "KEY" column, which is common to both of the tables.

 

Kindly give Kudos if this is helpful, or mark as a Solutions if it works! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi Pragati,

 

I have already created a relationship between them. Say [Key] A has [Test] Version 1 but [Production] Version 2 as per below table:

 

Table 1 -                         Table 2 -

   Key       Test                       Key       Production

    A           Version 1                C          Version 1

    B           Version 2                 A           Version 2

    C           Version 3                 B           Version 3

 

So when I filter [Test] Column to Version 1. [Production] column in table 2 is getting filtered to show Version 2 which is related to Key A. But what I want is when I filter [Test] column to Version 1. [Production] should also filter to Version 1. Should I delete the direct relationship between them for this to happen?

This is what I want to suggest

Untitled Diagram.png

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

I will try using this approach. Thanks Amit.

Hi @Anonymous ,

 

Has your issue been resolved? If it has been resolved, you could accept the reply you like.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
amitchandak
Super User
Super User

Create a common dimension Test and join with both tables

 

Test = distinct(Table1[Test])

 

And join with both the tables. Use this in slicer or page level filter

Join Test[Test] - Table1[Test]

and join Test[Test] - Table2[Production]

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

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

Hi Amit,

 

sorry I don't understand. How do you propose I join the two tables? 

The first is a measure and I cannot join it with a table. 

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