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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rahulmenon
Frequent Visitor

Creating a unique table with 2 columns which is pulled from multiple tables in the report

Hi Community,

 

I was trying to create a unique table by combining 2 columns from all the tables available in my report.

There are 4 FACT tables in my report. Each table have multiple columns in it. But each tables have Client ID and Client Name column, but not necessarily having same details. I want to create a new table named 'Client List', where in I need Client ID and Client Name which is pulled from all other 4 reports and then I have to remove duplicates. So the Client ID and Client Name columns from the Client List table should have only unique values. 

Hence, i can use the Client Name column from Client List table to keep in Slicers to filter informations.

 

An example is given below:-

rahulmenon_0-1707998347869.pngrahulmenon_1-1707998374165.png

rahulmenon_0-1707998582319.pngrahulmenon_1-1707998594974.png

Expected result

 

rahulmenon_2-1707998626914.png

 

2 ACCEPTED SOLUTIONS
HotChilli
Super User
Super User

You can duplicate each of the fact tables and then remove all columns apart from ID and Name.

Append the tables together.

Then select ID and Name in the Appended table result, and Remove Duplicates

View solution in original post

NishPatel
Resolver II
Resolver II

First of all make a copy of all the tabels in power query using duplicate.  From each table select Client ID and Client Name column and remove other columns. And then use append query to merge all into one table and name this table as Client List. Close and Load power query.

View solution in original post

4 REPLIES 4
NishPatel
Resolver II
Resolver II

First of all make a copy of all the tabels in power query using duplicate.  From each table select Client ID and Client Name column and remove other columns. And then use append query to merge all into one table and name this table as Client List. Close and Load power query.

Thanks NishPate for your response. After duplicating and appending, can i remove the duplicated tables? will it impact the appended table?

Hi, You cannot delete them as if there will be a new data than the newly created table will fail. Instead you can uncheck the "Enable Load" option in power query by right clicking on those tables and those tables will not show up in your report pane.

HotChilli
Super User
Super User

You can duplicate each of the fact tables and then remove all columns apart from ID and Name.

Append the tables together.

Then select ID and Name in the Appended table result, and Remove Duplicates

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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