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

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

Reply
Anonymous
Not applicable

Colour code rows according to a column not shown in matrix

Hi, 

 

I have a column in a table called display type which has values sum and normal. I've built a matrix around this table.

I'd like to colour code display type values for sum but i don't want the column display type to be shown on the matrix. 

Is there a way to do this?

 

Thank you.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please create a measure and add it to Conditional formatting rule as below.

Measure = IF(SELECTEDVALUE('Table'[type])="sum",1,0)

 1.PNG2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

Please create a measure and add it to Conditional formatting rule as below.

Measure = IF(SELECTEDVALUE('Table'[type])="sum",1,0)

 1.PNG2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@Anonymous I don't see the measure in the conditional formatting part. Do I have to add this to the visual (which i don't want to do).

Thank you.

Anonymous
Not applicable

Hi @Anonymous ,

 

You don't need to add the measure to visual.

Please check this pbix.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Need little more information to answer your question.If you only want to conditional format display type -sum, you could use the selected value inside switch statement to check "display value =sum" and set the hex color code else none. Then you could use this measure in conditional format.

 

Refer to the documentation.

 

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting

 

 

Show us the expected output. 

 

If this helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.