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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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-numbers-in-the-column
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.