hiya,
I have a online store where the gallery which is coming from the dataverse table products. i also have another table called customer discounts and they can use a promo code to check if it is correct, to update the total amount.
I'm still learning about power apps, ive written a IF statement to check the code is correct
If(
IsEmpty(Filter('Promotion Codes', PromoCodeID = TextInput1.Text)),
Notify("Invalid discount code", NotificationType.Error),
Notify("Valid discount code", NotificationType.Success)
)
However there is a field in the discount table which is amount discounted i.e £10. any suggestions on how this number can subtract the total amount?
thanks 🙂