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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
akkibuddy7
Helper I
Helper I

Matrix visual shows wrong total for string column

Why matrix visual shows total for string column ? It supposed to be blank.

incorrect total i have marked in Red color , any solution except changing background and font color ?

akkibuddy7_0-1741689190166.png

 

1 ACCEPTED SOLUTION
akkibuddy7
Helper I
Helper I

Found the solution - 
MeasureColumn = 
IF( HASONEVALUE(table[columnName]),

SELECTEDVALUE(table[columnName]),

Blank() )

 

Using above DAX Created 3 measure column for Code, Channel and date and it will show blank  in total row

View solution in original post

5 REPLIES 5
akkibuddy7
Helper I
Helper I

Found the solution - 
MeasureColumn = 
IF( HASONEVALUE(table[columnName]),

SELECTEDVALUE(table[columnName]),

Blank() )

 

Using above DAX Created 3 measure column for Code, Channel and date and it will show blank  in total row

This will also show a value in total if you filter down to a single item, using isinscope the total will remain blank in that edge case


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Deku
Super User
Super User

If(Isinscope( table[name] ),[Code])

 

Will return code if filtered by code, will return blank for total


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Tried the same logic for Code is regular column, its not allowing to use Code in second parameter in 'ISINSCOPE'

 

If you are using a implicit measure in the matrix for code, then you have to slightly update

 

If(Isinscope( table[name] ),selectedvalue(table[Code]))


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.