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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Transposing Muti-Data Sets to Single Program

Hello, 

 

Looking for some help with this. I am aware of transposing the data, but not sure how to pull the program name down for every date value in the array. Looking for either the manual manipulation methods to allow this to happen, or if there are applied steps that can be followed to automate this manipulation.

 

I am a beginner in PowerBI, any assistance is appreciated. Thank you in advance for any help. 

 

My current dataset looks like this:

 

Program:1/1/20222/1/20223/1/20224/1/20225/1/20226/1/20227/1/20228/1/20229/1/202210/1/202211/1/202212/1/2022
A447411293233408944126241437228168324932521336
B868376440320584574317545993817320937984488261
C3951191832882018072713119417334512282732612881
D22656182041209531773293307836651899246627452371
E392340774247244943033999420525402095481729872064

 

I am looking to get the dataset into this format:

 

Program:Date:Value
A1/1/20224474
A2/1/20221129
A3/1/20223233
A4/1/20224089
A5/1/2022441
A6/1/20222624
A7/1/20221437
A8/1/20222281
A9/1/202268
A10/1/20223249
A11/1/20223252
A12/1/20221336
B1/1/2022868
B2/1/2022376
B3/1/20224403
B4/1/20222058
B5/1/20224575
B6/1/20223175
B7/1/20224599
B8/1/20223817
B9/1/20223209
B10/1/20223798
B11/1/20224488
B12/1/2022261

 

1 ACCEPTED SOLUTION
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, here is my solution.

Click "transform data" to enter Power Query Editor.

vxiaosunmsft_3-1667957756845.png

Use Power Query to unpivot the other column. Please select the first column, right click it and then click "unpivot other columns".

vxiaosunmsft_0-1667957518585.png

Final output:

vxiaosunmsft_1-1667957627584.png

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you very much for your help and support! This is exactly what I needed!

v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, here is my solution.

Click "transform data" to enter Power Query Editor.

vxiaosunmsft_3-1667957756845.png

Use Power Query to unpivot the other column. Please select the first column, right click it and then click "unpivot other columns".

vxiaosunmsft_0-1667957518585.png

Final output:

vxiaosunmsft_1-1667957627584.png

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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