Hello guys,
I know this sound basic and actually I found many topics about this but seems I still cannot make it works.
I'm a newbie in PowerApps, and now I just want to have my DataCard in my Browse Gallery to have a certain color based on a value.
How exactly and where I should put the expression ?
So I have a BrowseGallery which contains DataCard, and lets say the DataCard I want to change its color is DataCardValue11. The column underlying it, is the Active column (which is an two options set).
Currently, I did,
1. Unlock the specified DataCard
2. Go to Properties and Tab Advanced
3. Locate "Color"
4. Then add the expression, like this : If (Value(DataCardValue11.Text) = "Active", Green, Red)
There is an warning sign saying it is incompatible type. Is OptionSet need special care and cannot just put the text "Active" like that ?
Need help.
Thanks,
V