Forum Discussion
KAC0413
Mar 02, 2021Copper Contributor
Error with > OR < statement
I'm fairly new to Power Apps and am having trouble creating a statement for the following scenario:
If "weekly hours" <=5 or >=10, then need to have prompt which would mandate employee input comments stating reason for falling out of parameters.
Any suggestions would be greatly appreciated. Thank you
Try any one of the below formulas:
If("weekly hours" <= 5 Or "weekly hours" >= 10, true, false) //OR If("weekly hours" <= 5 || "weekly hours" >= 10, true, false) //OR If(Or("weekly hours" <= 5, "weekly hours" >= 10), true, false)
Reference: And, Or, and Not functions in Power Apps
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.