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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Transform values to be table Key

Hi Community!!
I have the following table that shows for each ID a number of serials (every ID has between 1 and 5 serials):

1.png

I need to run a transformation so I get a table with one column that contains all serials (from the 5 serials columns, but all in one column) and for each serial the ID. Each serial will be unique, but the same ID can appear for more than one serials (for cases where currently the ID has more than 1 serial, as the ID 12863 in the example).

Any ideas of how to do this?
Thanks!!!

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can select all your Serial columns and goto Transform Ribbon and Click Unpivot

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

View solution in original post

3 REPLIES 3
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,
Not sure if understand exactly what you are asking, but try this from the bottom picture. Original table, then convert data type to text if not already done, then create custom column using &, then delete all but the first and the last.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniels.PNG

 

s3.PNG

 

s2.PNG

 

s1.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can select all your Serial columns and goto Transform Ribbon and Click Unpivot

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

Anonymous
Not applicable

Perfect! Thanks!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.