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 Platform Community / Forums / Power Apps / Multiple Condition Dis...
Power Apps
Unanswered

Multiple Condition DisplayMode Formula

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

Trying to check my logic.

 

I have a Location, a Member, and a Hierarchy.

 

I have a Location Combo Box (Combo Box 1) and a Member Full Name Combo Box (Combo Box 2).

 

If the Location chosen in in Combo Box 1 is equal to "UNAS" and the Hierarchy of the Member in Combo Box 2 is equal to "One" then Combo Box 2 DisplayMode should default to 'Edit' else 'Disabled'.

 

If the above is not true then...

 

If the Location chosen in Combo Box 1 is equal to any other Location initiate:

     If(varHierarchy="One" Or varHierarchy="Two" Or varHierarchy="Three"=true,DisplayMode.Edit,DisplayMode.Disabled)

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Phineas 

    Please consider changing your Formula to the following:

    If(
     ComboBox1.Seleected.Location = "UNAS" &&
     (varHierarchy="One" || varHierarchy="Two" Or varHierarchy="Three"), 
     DisplayMode.Edit,
     DisplayMode.Disabled
    )

     

    The Location column on the Combobox1 in the above formula will be dependent on your Items property of that control, so adjust as needed.

     

    I hope this is helpful for you.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Phineas 

    Were you able to work through your issue or do you still need help?

  • Phineas Profile Picture
    5,331 Moderator on at

    All good for now. Thanks for checking.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard