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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.