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 / Form visible based or ...
Power Apps
Answered

Form visible based or one or the other conditions.

(0) ShareShare
ReportReport
Posted on by 1,512

I have a form that if you complete a pre check on a previous screen will appear, however I need to have this form also show up if a radio button from the start screen is selected as well.

 

Here is my formula that is not working.

 

If(Value(Gallery6_1.Selected.Title2_1.Text) =0 || If(Radio4.Selected.Value = "New Hire" || "Remove",false, true)

 The form is only showing on the first condition and not on the second.

 

Any help appreciated.

Categories:
  • Ismael_Novo Profile Picture
    308 on at

    Hi Dorinda.

     

    PowerApps sometimes acts in "mysterious" ways. Perfectly correct formulas there is no way to make them work.

     

    I have managed to get out of these problems by chopping up the query and doing it in more steps. You can do those ORs before in some variable with UpdateContext and my best friend for a long time is the "With" function.

     

    Regards.

  • Dorinda Profile Picture
    1,512 on at

    I am still learning "With" dont quite understand it

  • Ismael_Novo Profile Picture
    308 on at

    To not generate too many vars you could us "with" function. This function got 2 blocks, first little calculations and then the logic. Check this video: https://www.youtube.com/watch?v=AYD2oWue7fw

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Dorinda 

     

    You can try this:

    If(Value(Gallery6_1.Selected.Title2_1.Text) =0 || Radio4.Selected.Value = "New Hire" || Radio4.Selected.Value="Remove",false, true)

     

    Best Regards,

    Levi

     

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard