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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
azakir
Resolver I
Resolver I

Unpivot / Merge Columns

Hi Guys. 

I've got an excel file that I am trying to pull into Power BI. The file has a number of "Merged" columns in Excel: 

azakir_0-1685495204449.png

I would like a single column for dates, a single column for either "staff" or "wages" through Power Query Editor. Or is there an easier way to do this? 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

7 REPLIES 7
Ahmedx
Super User
Super User

don't forget to change the excel file address

Screen Capture #1195.png

Ahmedx
Super User
Super User

pls try this

Sample PBIX file attached

https://1drv.ms/u/s!AiUZ0Ws7G26RiEIEJnzOhtQqU1p0?e=HW88We

Screen Capture #1194.png

Thanks @Ahmedx That did the trick for me. 

Ahmedx
Super User
Super User

Can you please share your demo input and expected output!

Hi @Ahmedx 

 

https://file.io/DPCxcJrtrxty

 

Here's the link to the file. Expected outcome is below: 

 

azakir_0-1685512953969.png

 

Ahmedx
Super User
Super User

the best way to do this is in Power Query Editor

Thanks @Ahmedx . Exactly, would like to know how

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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