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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
radu92
Helper I
Helper I

Grouping numeric columns to categories

Hi everyone,

 

I am trying to group several columns (which represent subcategories) to main categories. My data looks like this:

 

CommitmentResponsivenessAppearrancePragmatismCustomizationProactivityInnovation
2523521
334351

3

 

Now I would like to group the first three columns into the category "Personality" and the last four to "Customer focus", in able to create numeric KPIs based on the main category (e.g. the average for Personality as a KPI visual).

 

Any help is appreciated! 🙂

1 ACCEPTED SOLUTION

@radu92,

You would need to add new column to calculate average of mulitiple columns.

Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@radu92,

Could you please post your expected result in table? How do you want to calculate these values of different columns when you group them into categories?

Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I would like to have the average of the subcategories as the main category. I solved it now by just adding a new column that calculates the AVG(column1, column2, etc.), but I was wondering if this could be done without an extra column.

@radu92,

You would need to add new column to calculate average of mulitiple columns.

Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks! That's what I did 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors