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 / Button that goes to an...
Power Apps
Answered

Button that goes to another screen based on gallery choice

(0) ShareShare
ReportReport
Posted on by 361

I need to say that when I save and select an item from the gallery in "NOT OK" it goes to the NAOOK screen, if not it goes to the APA screen, but I'm not succeeding, it always goes to the APA screen, any tips? thisItem doesn't work...

 

Joaoandrebs_0-1687791868293.png

 

Categories:
I have the same question (0)
  • Verified answer
    developerAJ Profile Picture
    4,763 on at

    i am assuming that the below 1,2,3.... points are in gallery. if you are trying to refer gallery radiobox outside it won't work.

    i am assuming you want something like if none of the items in gallery is notok than proceed to  NAOOK screen else other screen

     

    use If( IsBlank( LookUp(urgallery.AllItems,Radio2.Selected.Value="NOT OK")),Navigate(APA ),Navigate(NAOOK))

     

     

    Please click Accept as solution and give it Thumbs Up if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    You can connect with me on LinkedIn

     

  • madlad Profile Picture
    2,637 Moderator on at

    You need commas in your If statement, not semicolons I think

     

    Try: If(Radio2.Selected.Value = "NÃO OK", Navigate(TelaNaoOk), Navigate(TelaAPA))

     

    Hope this helps!

     

  • turnerj3 Profile Picture
    2,039 on at

    If the radio's are in a gallery, follow @developerAJ 's recommendations. However, if they are part of the form2 you are probably wiping the values before your If statement with the NewForm.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#2
11manish Profile Picture

11manish 192

#3
Valantis Profile Picture

Valantis 128

Last 30 days Overall leaderboard