Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have a set of customer data with each individual metric being recorded as a new record. How do I summarise this as a new table with columns for each metric. I have illustrated this below.
Customer | Type | Value |
A | Cat.1 | 230 |
A | Cat.1 | 45 |
A | Cat.3 | 175 |
B | Cat.1 | 260 |
B | Cat.2 | 125 |
B | Cat.3 | 60 |
C | Cat.2 | 95 |
C | Cat.2 | 230 |
C | Cat.3 | 245 |
Row Labels | Cat.1 | Cat.2 | Cat.3 |
A | 275 | 175 | |
B | 260 | 125 | 60 |
C | 325 | 245 |
Solved! Go to Solution.
Hi,
It looks like Pivot https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019 is what you need
Best,
Hi @Anonymous
Select "Type" and "Value" columns, select "pivot columns",
“
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
“
Best Regards
Maggie
I agree. Pivot on Type and use the Values column for values. Do this in the Power Query Editor
Hi,
It looks like Pivot https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019 is what you need
Best,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |