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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
LogMill1
Frequent Visitor

Table Transformation

I am attempting to transform data to be tall instead of wide. Example1 below is what the data currently is and Example2 is what I would like the data to be. Any tips on how to do this within PBI? Thanks.

 

Example1:

IDDate1Date2Date3Date4Date5Date6Date7
1 1/1/2024  1/5/2024  
21/1/2024     1/8/2024
31/3/2024  1/5/2024  1/11/2024
4 1/5/2024  1/9/2024  
5  1/4/2024  1/8/2024 
61/9/2024  1/11/2024  1/14/2024
7 1/10/2024  1/15/2024  

 

 

Example2:

IDDate #Date
1Date21/1/2024
1Date51/5/2024
2Date11/1/2024
2Date71/8/2024
3Date11/3/2024
3Date41/5/2024
3Date71/11/2024
4Date21/5/2024
4Date51/9/2024
5Date31/4/2024
5Date61/8/2024
6Date11/9/2024
6Date41/11/2024
6Date71/14/2024
7Date21/10/2024
7Date51/15/2024
1 ACCEPTED SOLUTION
gadielsolis
Super User
Super User

Hello,

 

You can achieve this in Power Query by selecting column Id an clicking on unpivot other columns, then you can filter the blanks on the column date.

View solution in original post

1 REPLY 1
gadielsolis
Super User
Super User

Hello,

 

You can achieve this in Power Query by selecting column Id an clicking on unpivot other columns, then you can filter the blanks on the column date.

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Users online (1,682)