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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
ergocorp
Helper II
Helper II

Thank you 🙂

Happy to help ♥️

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
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.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors