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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jostnachs
Helper IV
Helper IV

hiding totals of specific column in matrix visual

Hi All... I am struggling with matrix visual in power bi where i have to hide some totals and display some as shown below. if i change the color of the text to be white in specifc column setting is not working for me as it changes the header back to white but i need that to be formatted as orange. any idea how i can acheive this and also balck line above the totals.

jostnachs_0-1732631512219.png

 

2 ACCEPTED SOLUTIONS

@jostnachs Please pass in the column you have on the row headers insided Selectedvalue in your case it might be Date column

 

My Sales = 
var a = SUM(FactMyLedger[_Opening])
RETURN
IF(SELECTEDVALUE(FactMyLedger[Date]) <> BLANK() , a,BLANK())

 

 

Did I answer your question ? Please mark this post as a solution.

 

Thanks,

Jai




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

Proud to be a Super User!





View solution in original post

Great! Thank you... worked like a charm.... 

View solution in original post

4 REPLIES 4
Jai-Rathinavel
Super User
Super User

@jostnachs If you are using measures to display the columns in the visuals you can include  SELECTEDVALUE() function in your DAX so that it will not show a total row for that metric. If you are using selectedvalue the totals will now show up. Refer my sample dax below

My Sales = 
var a = SUM(financials[ Sales])
RETURN
IF(SELECTEDVALUE(financials[Product]) <> BLANK() , a,BLANK())

 

JaiRathinavel_0-1732632515179.png

 

Did I answer your question ? Please mark this post as a solution.

 

Thanks,

Jai




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

Proud to be a Super User!





i tried and it is giving me all blank values 

jostnachs_0-1732632767792.png

 

 

@jostnachs Please pass in the column you have on the row headers insided Selectedvalue in your case it might be Date column

 

My Sales = 
var a = SUM(FactMyLedger[_Opening])
RETURN
IF(SELECTEDVALUE(FactMyLedger[Date]) <> BLANK() , a,BLANK())

 

 

Did I answer your question ? Please mark this post as a solution.

 

Thanks,

Jai




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

Proud to be a Super User!





Great! Thank you... worked like a charm.... 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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