Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I currently have a data source like follows:
SKU | Site 1 | Site 2 | Site 3 | Week |
123 | 10 | 9 | 7 | 1 |
123 | 9 | 9 | 7 | 2 |
789 | 1 | 2 | 1 | 1 |
789 | 2 | 2 | 2 | 2 |
To create part of my report I figured it would be easiest if I could create a second data source from the original that is layed out differently, but I can't quite figure out if it is possible.
The end result would be:
SKU | Week | Site | Price |
123 | 1 | Site 1 | 10 |
123 | 1 | Site 2 | 9 |
123 | 1 | Site 3 | 7 |
123 | 2 | Site 1 | 9 |
123 | 2 | Site 2 | 9 |
123 | 2 | Site 3 | 7 |
789 | 1 | Site 1 | 1 |
789 | 1 | Site 2 | 2 |
789 | 1 | Site 3 | 1 |
789 | 2 | Site 1 | 2 |
789 | 2 | Site 2 | 2 |
789 | 2 | Site 3 | 2 |
Any Ideas?
Solved! Go to Solution.
@JACK__ ,
Go to Power Query Editor and select all the 3 site columns of the table you wanted to modify. Then, select unpivot columns (highlighted in the image),
your resulted table should be like this, and then you can rename the value column as price,
@JACK__ ,
Go to Power Query Editor and select all the 3 site columns of the table you wanted to modify. Then, select unpivot columns (highlighted in the image),
your resulted table should be like this, and then you can rename the value column as price,
Thank You 🙏
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.