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
mariamartinez
Frequent Visitor

Call a color from my custom theme in a measure

Good afternoon all,

 

I want to call a color that is set in my custom theme in a measure. My goal is to apply conditional formatting based on a field that is a measure with that color. 

Is that possible?

 

Ex. I have this measure and I want to substitute the color codes for something that calls the color 1, color 2 or color 3 set in my custom theme.

 

mariamartinez_0-1631543502135.png

 

Many thanks in advance.

3 REPLIES 3
amitchandak
Super User
Super User

@mariamartinez , Not very clear. But are you planning to get theme color based on order, I doubt that.

Good morning

 

Yes, I'm trying to get theme colors to use them in measures. Do you think it is possible?

 

mariamartinez_0-1631602175552.png

 

Hi @mariamartinez 

you can re-use the theme in other files by clicking on Save current Theme. but it seems impossible to get theme colors by name in measure.

vxiaotang_0-1631772715998.png

 

Best Regards,

Community Support Team _Tang

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

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.