Notifications
Announcements
Hello to everyone,
can someone help me to create the code on Power Apps for the attached file?
What I need is:
Edit: Is it even possible to happen?
@Kostika
Yes it is possible. Powerapps will execute the If() elements sequentially until it finds a true one then stops. So
If(And{x1, y1, x2, y2, x3) , some action,
And(x1,!y1) , some other action,...
)
Hey @Drrickryp
I really appreciate your time for replying to my issue.
I can't use And(x1,y1,x2,y2,x3) because if x2=false then I dont need to check about y2.
I mean if x2=false then it will break the And(x1,y1,x2,y2,x3).
You don't get the concept. If the first And() is not true, PowerApps evaluates the next And() phrase and so on down the logic tree until finds a true phrase.
See https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-if
Yep, I know I can create a huge multi-nested IF (because I have X1...X6 & Y1...Y6), but I was hoping for a different approach or faster solution.
Best I could do. After all, you asked if it was possible, not practical.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268