A family of Microsoft on-premises document management and storage systems.
I want to fill a rectangle in different colors in a powerapp App.
The color should depend on the Status:)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I would like to visualize the current status via a color recognition.
For this I created a square and tried to control the color with the Fill command using the following function:
Switch(ThisItem; Status; Color; "offen"; Red; "in Arbeit"; Yellow; "erledigt"; Green; Blue)
The error message is: invalid argument type, record is expected.
Does anyone have an idea where the problem is?:)
A family of Microsoft on-premises document management and storage systems.
End-to-end process of building, validating, and distributing custom apps and add-ins across Microsoft 365 platforms
Answer accepted by question author
I want to fill a rectangle in different colors in a powerapp App.
The color should depend on the Status:)