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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors