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.
Hi Folks,
I have data in Excel originally like below to be imported to Power BI:
In the Edit Quries I want to transpose the month to a new column and have the amount show in a new column but keep the first 4 columns (BU, Obj Acc, Sub, Desription) unchanged, like below:
However, when I use the transpose function in "Transform" tab the first 4 columns will get transposed too.
Is there a way I can shape my data the way I expected?
Thank you your help in advance, I have tried so many different ways in Power BI but no success. I really need someone's advice.
Raymond
Solved! Go to Solution.
Hi @clubspec,
Sounds like Unpivot Other Columns will help you out. Select the first four columns, then select Unpivot other Columns, and rename the new columns.
Hi @clubspec,
Sounds like Unpivot Other Columns will help you out. Select the first four columns, then select Unpivot other Columns, and rename the new columns.
User | Count |
---|---|
65 | |
60 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |