Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Summarize GroupBy as New Columns


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.

 

 

CustomerTypeValue
ACat.1230
ACat.145
ACat.3175
BCat.1260
BCat.2125
BCat.360
CCat.295
CCat.2230
CCat.3245

 

Row LabelsCat.1Cat.2Cat.3
A275 175
B26012560
C 325245
1 ACCEPTED SOLUTION
Anonymous
Not applicable
3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Select "Type" and "Value" columns, select "pivot columns",

7.png

 

 

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 

HotChilli
Super User
Super User

I agree.  Pivot on Type and use the Values column for values.  Do this in the Power Query Editor

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.