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

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
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
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

NamishB
Post Prodigy
Post Prodigy

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
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.