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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
rodri2196
Frequent Visitor

Changing font colour of my measure based on matrix Hierarchy

Hi All,

I am using a matrix visual in which I have populated different columns and measures to display data.
The problem I am struggling is, For each level of my matrix hierarchy, I want to display a different FONT COLOR.  Can this be achieved by Conditional Formatting?

 

At this level It calculates properly.

rodri2196_0-1714609106599.png

 

When drilling down to deeper levels in the hierarchy, I want to maintain the visibility of subtotal values while hiding the detailed data, such as values for Weekly Print Cost and Weekly Pay.

rodri2196_1-1714609382120.png

 

Is there a way that this can be achieved? I thought of formatting by Text colour to match the background colour but that did not seem to work on a hierarchy.

Any sort of help on this problem will be appreciated.

Thanks 🙂

 




1 REPLY 1
Ritaf1983
Super User
Super User

Hi @rodri2196 
Unfortunately, we don't have the desired functionality you can suggest an idea here :

https://ideas.fabric.microsoft.com/ideas/search-ideas/?q=different%20colors%20matrix&page=1

There is some workaround for measures using isinscope function, check if this can help.

There is an example in the linked discussion :

https://community.fabric.microsoft.com/t5/Desktop/Use-different-colors-for-different-row-levels-in-a...

(the response of @v-frfei-msft)

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

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.