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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Need assitance with font color in matrix visual

Is it possible to color font the metric "kpi name 1" in certain color and "kpi name 2" in a different one.

The table col "metric" goes under Rows in Matrix visual.

kpi2b.JPG

 

 

kpi2.JPG

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

By my tests and research, you could set like below in matrix.

Capture.PNG

You need turn on the option Banded row style under Value then you could set that.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
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

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

By my tests and research, you could set like below in matrix.

Capture.PNG

You need turn on the option Banded row style under Value then you could set that.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @Anonymous  ,

I have a solution for you.


1. Use "Table" visual instead of "Matrix" visual

 

2. Create a new column KPI METRIC COLOR = IF( METRIC = "kpi name 1" , 1 , 0 )

3.  > Select font color conditional formatting for METRIC Column.

     > Format by Rules
     > Based on field KPI METRIC COLOR

     > RULE 1 : If value is 1 then "Red"
     > RULE 2: If value is 0 then "Green"

That should work.

Please let me know if something is unclear. Else, please share your PBI file.

 

Cheers
Robin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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