Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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
Solved! Go to Solution.
@Anonymous HI, You can perform the following actions
1 It is necessary to write 2 measures
2 Create a spreadsheet
See attached file
@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).
Then format the Matrix to your liking.
Hope this helps and Regards,
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |