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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Create a query of unique references from three tables

I import three tables that all contain a UniquRef. I want to be able to create a query that gives me all of the UniqueRef's from all of the three tables in one column then grouped so as to have just one instance.

 

I have tried to create (created querys to get my three tables down to one column of UniqueRefs) a New Table using UNION but I am then unable to query this New Table to group the resultant UniqueRef.

 

Can you point me in the right direction, I feel Im perhaps approaching this all wrong


As always, your patience and advice is greatly received.

 

 

1 ACCEPTED SOLUTION
speedramps
Super User
Super User

Please try this solution, click the thumbs just for me helping you and click solved if it fixes your problems. Cheers !

 

  • Go into edit mode by clicking on Home > Transform Date >Transform Data
  • Click Append Queries >Append Queries as new> Three or more tables > and then add all 3 Available tables to Tables to append.
  • In the new table, right click the Ref column > Remove other columns.
  • In the new table, right click the Ref column > Remove duplicates.
  • Voila ... you now have a unqiue list of Refs.

There are other ways to answer your problem, but the trick here is to use Append and Remove Duplicates, rather than Group.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Many thanks speedramps. Have a great weekend, I will......now !!

speedramps
Super User
Super User

Please try this solution, click the thumbs just for me helping you and click solved if it fixes your problems. Cheers !

 

  • Go into edit mode by clicking on Home > Transform Date >Transform Data
  • Click Append Queries >Append Queries as new> Three or more tables > and then add all 3 Available tables to Tables to append.
  • In the new table, right click the Ref column > Remove other columns.
  • In the new table, right click the Ref column > Remove duplicates.
  • Voila ... you now have a unqiue list of Refs.

There are other ways to answer your problem, but the trick here is to use Append and Remove Duplicates, rather than Group.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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