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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

undefined

Hello,

 

I am trying to turn the Needs Approval to yellow. There is numbers in the fields at times as well but I am not sure of a measure that can decipher the two.

 

thanks

 

 

 

Rippey_1-1604002089244.png

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Please take a look at the below document. You may use conditional formatting if the visual is supported.

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

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , if it is a table you can do using the color measure. But not in the case of the matrix .

Example

color =
switch ( true(),
FIRSTNONBLANK('Table'[commodity],"NA") ="commodity1" && sum('Table'[Value]) >500,"lightgreen",
FIRSTNONBLANK('Table'[commodity],"NA") ="commodity2" && sum('Table'[Value]) >1000,"lightgreen",
// Add more conditions
"red"
)

 

You need to select "field value" option in conditional formatting and use this measure

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @Anonymous  whats the visual you using? and you mean "Needs Approval" as a word to color as yellow or the numbers correspondings to Needs Approval to Yellow?

 

Conditional Formatting > Font Color enable and you can set some rules to show the fields as colored.

 

Hope this helps.

 

Cheers,

-Namish B

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors