i have the filed called status having 3 options "Open" ,closed" , "progress"
in the gallery have all the controls in place and the data is displaying perfectly, what i wanted is get automatically change the
colors to specific status
if status = open then color = red or status= closed color=x etc...
I have solved this by using the COLOR from the Formula bar for the textbox i wanted to change the color dynamically
coloer:
If(ThisItem.Status.Value="Open",Red,Green), once the form is loaded it change the colors accordingly
still getting the error, i have shared the error, what exactly i need is when the form is loaded it has to change the color based on the status user filled during the submission of the form.
is their anyway to have conditional formula in PowerApps??
Thanks and regards for the response.
god blessings
i am fetching the data from SP in to Gallery where the text control having Field as and showing resolved"
i set the color of the field (status) to green now wanted to change the color depending status
Are you trying to change the color of the whole cell in the gallery or just a label control in the gallery for each item? If its a label then the formula would be something like this in the Fill of the label in the default cell in the gallery.
If(ThisItem.status.Value = "In Progress",Yellow,If(ThisItem.status.Value="Started",Green,White))
Where status is the field showing the result of a status dropdown (Choice) column.