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

Different colour font at base of hierarchy

Is it possible to have an alternative colour font for the lowest level of a hierarchy? The hierarchy is formed from 3 columns and is located in a matrix. As a report user gets to the bottom of the hierarchy I want the text to show in a different colour that denotes that they have the ability to drill through to an additional report page. This functionality isn't avavaible for the first 2 levels of the hierarchy. From the image below the 2 underlined modules would be coloured coded to #0000EE. 

BuistJames_0-1621326625478.png

Thanks for your help in advance.

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , I doubt Matrix has something like that.

One thing I can think of is a color measure using isinscope . But you can only use it for values only in case of Matrix 

Conditional formatting ->fx(advance) -> Field Value -> Select a measure

 

Switch( True(),

isinscope(Table[Level2]) , "Green",

isinscope(Table[level1]) , "Red"

)

 

Or you ca use exact value

Switch( True(),

if Table[Level2] = "Computing"  , "Green",

isinscope(Table[level1]) , "Red"

)

 

 

if needed refer for steps

 

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

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.