Announcements
Hi,
How would you add more LookUp's for the Fill of a button?
This is what I have currently and I'm receiving an errors on the ";" in between the LookUps:
This is the picture of the App OnStart:
Please help if you can.
Thank you!
You first screen shot is too small to see, can you repost it larger?
The fill property can only accept a Color value. To change the the color, you will need to use a Switch function or a If condition. https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-if
In this case, I would probably use a Switch function. Example:
Switch(Lookup(Machines, 'SWO Number' = "1043" && IsActice = true).'Machine Status'.Value, "Down", Color.Red, "Idle", Color.Yellow, "Running", Color.Green, Color.LightGrey)
You may need to edit Formula so it makes sense in your app.
If I have answered your question, please mark your post as Solved.If you like my response, please give it a Thumbs Up.Cheers!Rick Hurt
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 397 Super User 2026 Season 2
Mohsin Ali 354
WarrenBelz 232 Most Valuable Professional