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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JACK__
Frequent Visitor

Create a new Data Source from an Existing Source

I currently have a data source like follows:

SKUSite 1Site 2Site 3Week
12310971
1239972
7891211
7892222

 

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:

SKUWeekSitePrice
1231Site 110
1231Site 29
1231Site 37
1232Site 19
1232Site 29
1232Site 37
7891Site 11
7891Site 22
7891Site 31
7892Site 12
7892Site 22
7892Site 32

 

Any Ideas?

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@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),

 

Arul_0-1708347654014.png

 

your resulted table should be like this, and then you can rename the value column as price,

 

Arul_1-1708347703544.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

2 REPLIES 2
Arul
Super User
Super User

@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),

 

Arul_0-1708347654014.png

 

your resulted table should be like this, and then you can rename the value column as price,

 

Arul_1-1708347703544.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


JACK__
Frequent Visitor

Thank You 🙏

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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