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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
corbusier
Advocate IV
Advocate IV

Show Count in Totals row without summarizing column

Hello all, I have a Matrix visual that I'm using to list attributes (measures) related to Products. For example, Sales, Revenue etc. The sum of Sales and Revenues works and shows fine in the Totals row. Now I want to add the count of Products. How do I do this, without adding a column with 1 for each row of Product?

 

for example,

 

Product | Code | Sales | Revenue  

Prod A  | BRE |  700 | 700000

Prod B  | GHR | 500 | 600000  

Totals   | 2 | 1300 | 1300000

 

Any help is appreciated! 

1 ACCEPTED SOLUTION

@corbusier

 

No. I'm afraid it is not possible. Matrix can not count the Total for srouce table itself. We should give Matrix a value.

 

Thanks,
Xi Jin.

 

 

View solution in original post

3 REPLIES 3
v-xjiin-msft
Solution Sage
Solution Sage

@corbusier

 

Did you mean this?

 

sa.PNG

 

If you want to get the count of Products. You can simply put the Product column into Values of Matrix visual and choose Count. And if you want to use measure to calculate the total count of products, you can try COUNTROWS(tablename).

 

If above sample doesn't satisfy your requirement, could you please share us more detailed information like some screenshots of your Matrix and your desired result if possible?

 

Thanks,
Xi Jin.

This works, but inserts a column. I'm trying to not have a column that just has "1" on every row to get the total count since it's ugly. Is it possible to have the count on the Total row without having a column for it? 

@corbusier

 

No. I'm afraid it is not possible. Matrix can not count the Total for srouce table itself. We should give Matrix a value.

 

Thanks,
Xi Jin.

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors