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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.