web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Two Part Condition

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Trying to confirm condition construction. My assumption is the two parts stand alone. The first says if the User has a 'ProgramHierarchy' of "National" the enforce the condition.

The second says if the User has a 'ProgramHierarchy' of "Park" AND the Gallery field content is "Yes" enforec the condition.

Also, that the "Yes" component does not apply to the "National" part of the condition? 

     varProgramHierarchy="National" || varProgramHierarchy="Park" & "Yes" in MemberProfileECMemberGallery.Selected.ECPark

Categories:
  • Verified answer
    ganeshsanap Profile Picture
    1,555 on at

    @Anonymous 

     

    Use your formula like:

     

     

    Or(varProgramHierarchy = "National", And(varProgramHierarchy = "Park", "Yes" in MemberProfileECMemberGallery.Selected.ECPark))

     


    Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard