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 Team,
I have table in Tranform data :
Id | Attribute | Value |
11 | Premium | 600 |
11 | Percentage | 9% |
11 | Tax | 55.8 |
and I wanted to show it like :
Id | Premuim | Percentage | Tax |
11 | 600 | 9% | 55.8 |
Could you please let me know on which column should i use Pivot/unpivot so that i will get correct result ?
Thanks,
Shubham
Solved! Go to Solution.
@Anonymous
Select the Attribute column and do a Pivot on it. See the screenshot below to see what you have to set in Values column and aggregate function
This is how the result will look like.
Thanks
You can also select transpose under transform in query editor.
@Anonymous
Select the Attribute column and do a Pivot on it. See the screenshot below to see what you have to set in Values column and aggregate function
This is how the result will look like.
Thanks
User | Count |
---|---|
65 | |
59 | |
55 | |
54 | |
32 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |