Hi Everyone,
Am hoping I could get some help please? I have a Power Apps form sourced from SharePoint and in the form, I have a Choice and Amount field.
In the Choice field, the values are Choice1 and Choice2. If the user picks Choice1 then I would like the Amount field to default to $100,000 or if Choice2 is chosen then default to $200,000 else 0.
I have tried setting the Default of the Amount field to:
Test #1: Somewhat works, no Update field error and while the "2025 Choices'.Value" is blank, the default value shows $200,000 but if I change the "2025 Choices'.Value" = Choice1, the Amount field is not updated.
If(ThisItem.'2025 Choices'.Value = "Choice1", "$100,000", "$200,000")
Test #2: Not sure if this works because I do not know how to fix the error coming from the Update field :(
If(ThisItem.'2025 Choices'.Value = "Choice1", "$100,000" Or ThisItem.'2025 Choices'.Value = "Choice2", "$200,000", "$0")
Update field error:
Thank you so much in advance!
MT