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

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

Reply
MT4U
Frequent Visitor

How to create a measure to extract common values from 2 columns from 2 tables with no relationship

Hello,

I have 2 Fact tables Table 1 & Table2 with no relationship to each other.

I need a column which is actually showing the common values of Table1[Column1] & Table2[Column1].

This new derived column can be in another Fact table or Dim table. Can anyone suggest a good method ?

1 ACCEPTED SOLUTION
Padycosmos
Solution Sage
Solution Sage

Please try the following:

Measure = IF(SELECTEDVALUE(Table1[Column1])=SELECTEDVALUE(Table2[Column1]),SELECTEDVALUE(Table1[Column1]))

View solution in original post

4 REPLIES 4
MT4U
Frequent Visitor

Hello, Thanks for your reply. I tried a workaround with 'Treatas'.

The logic above will also give results, but if your column is very big means it is taking a reasonably much amount of time to load the visual. But thanks for your suggestion. 🙂

Padycosmos
Solution Sage
Solution Sage

Please try the following:

Measure = IF(SELECTEDVALUE(Table1[Column1])=SELECTEDVALUE(Table2[Column1]),SELECTEDVALUE(Table1[Column1]))

Thanks for the reply. But it is not working in my table, maybe due to a huge number of lines of data. Is there any other way to solve it?

Could you paste some sample data here, please?

Helpful resources

Announcements
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 Kudoed Authors