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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Tome_05
Helper III
Helper III

Please tell me how to add a row with the same ID and user duplicated.

Thank you as always.

I have data like the attached image 01 in PowerBI. Is there a way to make it look like attached image 02?

Thank you in advance.01.png02.png01.png

1 ACCEPTED SOLUTION
AnkitaaMishra
Super User
Super User

Hi @Tome_05 , 
Yes you can achieve this in Power Query editor by following below steps :
1) Split the "fruit" column by right clicking and choose option:
 WhatsApp Image 2025-01-31 at 12.57.00.jpeg

2) Choose option space for getting the values: 
WhatsApp Image 2025-01-31 at 12.57.12.jpeg
3) Select all the split column and use unpivot to get the desired result (you can remove the extra column if not needed)
WhatsApp Image 2025-01-31 at 12.57.23.jpeg

Thanks,

Ankita

View solution in original post

2 REPLIES 2
AnkitaaMishra
Super User
Super User

Hi @Tome_05 , 
Yes you can achieve this in Power Query editor by following below steps :
1) Split the "fruit" column by right clicking and choose option:
 WhatsApp Image 2025-01-31 at 12.57.00.jpeg

2) Choose option space for getting the values: 
WhatsApp Image 2025-01-31 at 12.57.12.jpeg
3) Select all the split column and use unpivot to get the desired result (you can remove the extra column if not needed)
WhatsApp Image 2025-01-31 at 12.57.23.jpeg

Thanks,

Ankita

Idrissshatila
Super User
Super User

Hello @Tome_05 ,

 

yes, first you split column 3 by delimiter to have a seperate column for each value.

check how to do it https://learn.microsoft.com/en-us/power-query/split-columns-delimiter

 

the you unpivot these columns

check it out https://learn.microsoft.com/en-us/power-query/unpivot-column

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors