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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Create a measure that hosts matches from two tables

Good, I'm trying to avoid creating a new table by combining queries since I want to create a measure that contains a table where the matches of a column of two different tables are combined. That is, for example, That NewTable = Table1 where the rows of Table1[Col1] match the rows of Table2[Col2].

Could someone tell me how to solve this question?

Thank you!

3 REPLIES 3
PVO3
Impactful Individual
Impactful Individual

I think you need something like:

CALCULATETABLE(
    'Table',
    TREATAS(VALUES('Table (2)'[Column1]),'Table'[Column1])
)
v-yadongf-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

 

Can you share with me some screenshots of your data after hiding sensitive information?

Thanks for your efforts & time in advance.

 

Best regards,

Yadong Fang

The two columns marked in those tables share rows with the same information, I want to host those matches to a measure to use as a filter.

Thanks in advance.

Best regards.

selek31_0-1664869887021.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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