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

Combining Tables only have a low no. of the same columns but i need those and some unique columns

Hi all, I've tried a few things but I've hit a bit of a wall.

 

I've got 4 tables of data, but I'll only focus on two as the solution will hopefully be the same. There is no unique identifier, so I have created a column in query editor on both that merges two of the columns together to give me unique values. I've then appended the tables, so I should have something that looks like this:

 

ergocorp_0-1700145486383.png

So now I want to do a visualisation. A want a table (or matrix if needed) visualisation that lists the uniquely shared cells on the left but then also has the unique columns in it also. I end up with this:

 

ergocorp_1-1700146055669.png

The 'unique' parts just share themselves. What I want is something like:

ergocorp_2-1700146154649.png

Any ideas?

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @ergocorp 
If I understand you correctly, you need to create a table with all unique IDs from both of the tables and create a relationship between the 2 tables via this "unique" table :

Ritaf1983_0-1700366703221.png

visual results:

Ritaf1983_1-1700366734068.png

PBIX is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
ergocorp
Helper II
Helper II

Thank you 🙂

Happy to help ♥️

Ritaf1983
Super User
Super User

Hi @ergocorp 
If I understand you correctly, you need to create a table with all unique IDs from both of the tables and create a relationship between the 2 tables via this "unique" table :

Ritaf1983_0-1700366703221.png

visual results:

Ritaf1983_1-1700366734068.png

PBIX is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

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.