would like to reset value to 0

Copper Contributor

Hi,

I have a Powerapps form and one of the columns is where user enters a count of an item

That count should be reset to 0 when the editform is used if a choice column value is selected, otherwise leave the entered value as is.

 

I am trying to use this formula in the RESET property of the Count column:

 

If(FlightInfo.Mode=FormMode.Edit, (DataCardValue4.Selected.Value = "Non-actionable"),ThisItem.'Guest Count')
it is probably not the correct formula or maybe the correct location to reset the value to 0 but powerapps is not returning an error but the formula does not act as expected.
 
Any help is appreciated.
 
Ren
 
0 Replies