Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have the following in a single table:
Key TotalPoints TotalPointsA TotalPointsB TotalPointsC TotalPointsD
1 2 2 null null null
1 5 null null 5 null
1 8 null 8 null null
What I want is the final table to look like:
Key TotalPointsA TotalPointsB TotalPointsC TotalPointsD
1 2 8 5 null
Solved! Go to Solution.
I was able to do this by using the Pivot feature.
For those that need to do something similiar, here is the video I found: Power Query: How to collapse Multiple Rows to a Single Row (youtube.com)
I was able to do this by using the Pivot feature.
For those that need to do something similiar, here is the video I found: Power Query: How to collapse Multiple Rows to a Single Row (youtube.com)
Hi
you can sum thte totalpoints columns except the key column as below
I want to do it in PowerQuery as part of the transform, as I am using the data in a stacked bar chart.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
70 | |
68 | |
50 | |
32 |
User | Count |
---|---|
117 | |
100 | |
73 | |
65 | |
40 |