Share via

collor recognition Status

Epple, Max 96 Reputation points
2021-06-21T04:48:37.25+00:00

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?:)

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | Development | Microsoft 365 Publishing

Answer accepted by question author

Epple, Max 96 Reputation points
2021-06-21T09:50:44.993+00:00

Hi @CaseyYang-MSFT

I want to fill a rectangle in different colors in a powerapp App.
The color should depend on the Status:)

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.