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
Anonymous
Not applicable

Avoiding totals/labels for non-additive columns in Matrix

 

I am trying to create this Matrix table:   I do not need labels in totals for the non-additive columns.  I only want to see the Total amount.  I am unable to see any settings under Format grid of PowerBI desktop to achieve this.  

 

Olajumi_1-1622735064940.png

Olajumi_2-1622735115855.png

 

I also want to be able to show row count for each currency. 

Something close to below:

 

Olajumi_0-1622735026761.png

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please see the attachment.

You can use the HASONEVALUE function to control the return value of subtotals.

Measure = IF(HASONEVALUE('Table'[Date]),MAX('Table'[ID]),COUNT('Table'[ID]))

2.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please see the attachment.

You can use the HASONEVALUE function to control the return value of subtotals.

Measure = IF(HASONEVALUE('Table'[Date]),MAX('Table'[ID]),COUNT('Table'[ID]))

2.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hariharan_R
Solution Sage
Solution Sage

Hi

Try to move the non-additive columns into rows and off the stepped Layout.

 

Thanks

Hari

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.