Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268