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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
varunvyas
New Member

Merge 17 columns of data to populate single column with all list of values

I have table as source for my report where data values are coming in from 17 different columns

e.g.

 

employee #      Level_1_User      Level_2_User      Level_3_User     Level_4_User

N000789            N000123             N000234            N000345            N000456

N000147            N000123             N000234            N000876             

N000852            N000123             N000963            N000632            N000888

 

 

For above example I wanted to create a single column that sources values from Level_1_User, Level_2_User,Level_3_User,Level_4_User and generates the distinct list of values as result column.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@varunvyas

 

Hi, In Query Editor you can Select Employee# column and unpivot other columns. After that select the column and Remove Duplicates (In Transform Menu)

 

Regards

Victor

Lima - Peru




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@varunvyas

 

Hi, In Query Editor you can Select Employee# column and unpivot other columns. After that select the column and Remove Duplicates (In Transform Menu)

 

Regards

Victor

Lima - Peru




Lima - Peru

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.