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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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