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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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