Announcements
See attached.
I'm new to creating apps in Power Apps. What I want this app to do is change either the color of the font in the selected box based on the value or the background behind the font. Or even both. Like background changes to GREEN when value is NO and RED when VALUE is YES. Can someone give me the process?
Never mind. I figured it out. But for anyone that finds this and wants the answer, I choose the "Fill" field at the top right with that box selected and used this formula: If(ThisItem.'Line Down'.Value = "Yes", Red, ThisItem.'Line Down'.Value = "No", Green). The value between the single quotes is the field name you are getting the info from.
Set that datacardvalue's Color() property to: If( "Yes", Red, Green)
You can use this logic for the Fill() property of the background as well... If(DataCardValueWhatever.Text = "Yes", Red, Green)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 426
WarrenBelz 381 Most Valuable Professional
Kalathiya 315 Super User 2026 Season 1