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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Summarize data by column 1 and filter/categorize by another column

Hello, 

 

I would like to summarize the values of one column (hours) based on the value of another column (User) filtered and categorized by another column (category).  See table below for details

 

Current Sheet                                          >>>> Wanted Result

User         Category      Hours                                                      User           Cat. A Hours Cat. B hours
User 1        Cat. A             1                                                          User 1             5               6
User 1        Cat. A             4                                                          User 2             1             11
User 1        Cat. B             6                                                          User 3              11            6
User 2        Cat. A             1                                                          User 4             6               6
User 2        Cat. B             5                                                          User 5             2               8
User 2        Cat. B             6
User 3        Cat. B             6
User 3        Cat. A             9
User 3        Cat. A             2
User 4        Cat. A             4
User 4        Cat. B             6
User 4        Cat. A             2
User 5        Cat. A             2
User 5        Cat. B             2
User 5        Cat. B             6

1 ACCEPTED SOLUTION

@Anonymous HI, You can perform the following actions
1 It is necessary to write 2 measures
2 Create a spreadsheet
See attached file
Screenshot_26.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

4 REPLIES 4
rsbin
Super User
Super User

@Anonymous ,

Your Current Sheet is set up correctly.

What you simply need to do is create a Matrix Visual.

Bring User into Rows, Category into Columns, and Hours into the Values well (Ensure Sum is selected).

rsbin_0-1663166716464.png

Then format the Matrix to your liking.

Hope this helps and Regards,

Anonymous
Not applicable

I was hoping to find a way to calculate it into a table instead of a visual

@Anonymous HI, You can perform the following actions
1 It is necessary to write 2 measures
2 Create a spreadsheet
See attached file
Screenshot_26.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
DimaMD
Solution Sage
Solution Sage

Hi @Anonymous Look at the file, everything is simple there


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.