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
ppgandhi11
Helper V
Helper V

how to show total for only selective columns in report?

Hi,

 

I have a matrix report with 5+ fields.  I want to display the total for only few of the fields not all. I see an option in General - Total with On/Off. When I select On, it shows total for all the fields. When I select Off, it does not show total for all the fields.

 

How to do this selectively? For example: TotalCases field is a good example of showing total. But the AverageCaseTime field does not need to show total. It could be misleading. Any help is appreciated. Thanks!

 

Prashant-

1 ACCEPTED SOLUTION
ricardocamargos
Continued Contributor
Continued Contributor

Hi @ppgandhi11

 

In this case you can create measure for each field and use the HASONEVALUE function to create a differente calculation for the total, in your case blank().

 

 

View solution in original post

3 REPLIES 3
ricardocamargos
Continued Contributor
Continued Contributor

Hi @ppgandhi11

 

In this case you can create measure for each field and use the HASONEVALUE function to create a differente calculation for the total, in your case blank().

 

 

How would this measure display the total for that selective column at the end? (In the bottom)

Hi @ppgandhi11,

 

If you create a measure using the HASONEVALUE function, it will replace the aggretation that you selected, so you can replace this default aggretation for blank or other aggregation.

 

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.