Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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:
| ID | Date1 | Date2 | Date3 | Date4 | Date5 | Date6 | Date7 |
| 1 | 1/1/2024 | 1/5/2024 | |||||
| 2 | 1/1/2024 | 1/8/2024 | |||||
| 3 | 1/3/2024 | 1/5/2024 | 1/11/2024 | ||||
| 4 | 1/5/2024 | 1/9/2024 | |||||
| 5 | 1/4/2024 | 1/8/2024 | |||||
| 6 | 1/9/2024 | 1/11/2024 | 1/14/2024 | ||||
| 7 | 1/10/2024 | 1/15/2024 |
Example2:
| ID | Date # | Date |
| 1 | Date2 | 1/1/2024 |
| 1 | Date5 | 1/5/2024 |
| 2 | Date1 | 1/1/2024 |
| 2 | Date7 | 1/8/2024 |
| 3 | Date1 | 1/3/2024 |
| 3 | Date4 | 1/5/2024 |
| 3 | Date7 | 1/11/2024 |
| 4 | Date2 | 1/5/2024 |
| 4 | Date5 | 1/9/2024 |
| 5 | Date3 | 1/4/2024 |
| 5 | Date6 | 1/8/2024 |
| 6 | Date1 | 1/9/2024 |
| 6 | Date4 | 1/11/2024 |
| 6 | Date7 | 1/14/2024 |
| 7 | Date2 | 1/10/2024 |
| 7 | Date5 | 1/15/2024 |
Solved! Go to Solution.
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.
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |