cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Szwadron
Frequent Visitor

Changing formatting of subtotal

Hi everyone,

 

I am struggling since couple of days to find a solution to a following problem:

I have a matrix in power BI report that shows me costs per deparment. I have activated subtoals (both for rows and for columns). I marked in yellow row subtotal, in black circle there is raw grand total and the blue column is a column grand total. What I would like to achieve is to exclude from showing the value marked in red circle, namely the total of grand row total.

 

Szwadron_3-1679421269664.png


Is there a way to do that? In my project this value makes no sense due to structure of the matrix and I would really like to hide it (it can be even shown but in blue font so it was invisible but I haven't found such an option.

 

I will be grateful for your tips.

 

Thank you in advance.

 

 

 

 

2 REPLIES 2
vicky_
Super User
Super User

Maybe try wrapping in an if condition - something like: 
IF(HASONEVALUE([Column]) || HASONEVALUE([Row]), 
    [Measure], 

    BLANK()
)

the idea is that the grand totals won't have both row and column filtered.

Thanks for suggestion but you mean that I should create a measure out of the value displayed or how exactly should I use this code?

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors