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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
GAPER
Post Patron
Post Patron

Don't show subtotal for certain columns

Can i not show some subtotal for specific columns? It's a matrix table. 

 

Thanks. 

5 REPLIES 5
GAPER
Post Patron
Post Patron

GAPER_0-1697006336043.png

 

This is an example - I am foreced to use First(Country) / First(Sector) for the column because I don't need it to be on column but it's not actually a measure. The issue is that when it comes to the total row. It's showing non meaningful results and I would l like to hide the column Country and sector for the cells in total. 

 

Thank you

 

as per my screenshot above did you check your visual settings?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




vanessafvg
Super User
Super User

what do you have placed on your matrix?  can you please give more information, under column subtotals on your visual settings you do have an option to select certain columns as below.  if that isn't showing up as expected, then please post what you are placing on the matrix and where?

vanessafvg_0-1696997961942.png

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




GAPER_0-1697008409884.png

GAPER_1-1697008423951.png

 

Am i setting these correctly?

 

danextian
Super User
Super User

Hi @GAPER ,

 

You need to specify that in your formula. For example, if you want the subtotal for column A to be blank, you can write

= IF ( HASONEVALUE (table[ColumnA]), [my measure] )

This tells DAX to return  the value of mymeasure if ColumnA has been filtered down to one distinct value only. Please refer to this thread: https://community.fabric.microsoft.com/t5/Desktop/Remove-subtotal-from-only-one-column-in-a-Matrix-i... 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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