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! Learn more

Reply
Brighton10
Helper II
Helper II

How to show totals for measures in a matrix/table view in power bi

Hi all. I have a table visual which i used to display some measures. However I would also like to show the total sum of the columns but power BI totals pane only shows for one measure which is also wrong, as it does not filter accordingly. Under Confirmed the total should be 239, QR scan 188 etc. The totals must dynamically change when i filter with the version or fullname. Please assist, Thank you total sums.PNG

1 ACCEPTED SOLUTION

@Brighton10 

No need for SELECTEDVALUE, make it simple and use these formulas

 
Confirmed_Me = CALCULATE(COUNT('db_fieldtrials tbl_user_decoder_software'[user_name]),'db_fieldtrials tbl_user_decoder_software'[deleted]=0)
 
QRScan_ME = COUNT(qrcode_scan[full name])
 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

6 REPLIES 6
aj1973
Community Champion
Community Champion

Hi @Brighton10 

In the Visual Table/Format is Totals on?

aj1973_0-1618753159491.png

can you screen shot your measures?

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

@aj1973, Yes the total is on thats why the total 1542 is there. confirmed measure.PNGqr scan measure.PNGnothing to report measure.PNG

@Brighton10 

For Confirmed and QRScan, you are counting the number of names in a non empty cells, correct?

Use COUNTA or COUNTX see how it works out

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

@aj1973 , Yes I am counting in a non empty cell. I did used counta and countx but its not showing the totals. Let me try to upload the pbix file if that will help.

@Brighton10 

No need for SELECTEDVALUE, make it simple and use these formulas

 
Confirmed_Me = CALCULATE(COUNT('db_fieldtrials tbl_user_decoder_software'[user_name]),'db_fieldtrials tbl_user_decoder_software'[deleted]=0)
 
QRScan_ME = COUNT(qrcode_scan[full name])
 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

You can send me the link in Private if that could make you more confi...

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

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.

Top Solution Authors