Hello @NidjoJohnny22
EDIT: I edited my initial answer since labels don't have Value property. what they have is Text
If you only have two possible values you can your usual logic:
If(Self.Text="Approved", RGBA(54, 176, 75, 1),RGBA(168, 0, 0, 1))
If you have 3 Possible Values, 3rd color below is Gray if it's neither Approved or rejected.
If(Self.Text="Approved", RGBA(54, 176, 75, 1),
If(Self.Text="Rejected", RGBA(168, 0, 0, 1),
RGBA(128, 128, 128, 1)
));
✔️ | Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION. This helps community members if they experience a similar issue in the future. |