The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello everyone,
Please, I need help with this trouble.
I imported a table from a web site and I need to change the structure table.
Original table
Day | Jan | Feb | Mar |
1 | 850 | 855 | 875 |
2 | 851 | 854 | 870 |
3 | 852 | 856 | 869 |
4 | 850 | 860 | 871 |
Result
Day | Month | USD |
1 | Jan | 850 |
2 | Jan | 851 |
3 | Jan | 852 |
4 | Jan | 850 |
1 | Feb | 855 |
2 | Feb | 854 |
3 | Feb | 856 |
Is it posible to do?
Thanks!
Solved! Go to Solution.
Select and unpivot the Jan-March columns:
NewStep=Table.UnpivotOtherColumns(PreviousStepName,{"Day"},"Month","USD")
Select and unpivot the Jan-March columns: