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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Helper IV
Helper IV

How to reshape this data?



It's probably because it's Friday, but I don't know how to reshape the data for me to work with.


I have an export which is currently the first line. In this example it's limited to 2 weeks, but it goes all the way to week 52.


My guess is that I have to unpivot columns to have it look like line 7, but how do I do that the fastest way possible?


The figures in column F of line 1 (week) are the number of items sold in that week of that item. 


Schermafbeelding 2017-01-27 om 14.29.04.png


Hi @lekkerbek,


Yes, you need to reshape your data. Currently, you have 3 columns for each weekly, your source table will change as time goes by.


You could refer to the link below to see how to pivot and unpivot data in Power BI.



Charlie Liao




Thanks will try that. Sorry for the late reply, I didn't receive a notification that someone replied.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.