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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Navigate to screen dep...
Power Apps
Answered

Navigate to screen depending on YES/No column sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

This may be very simple, but I am not managing to get it. I have a sharepoint list that has a YES/NO column. What I want to achieve in my app is having a button that navigates to Screen1 or Screen 2 depending on the value this column has...

 

Any idea? I am not even getting the formulas right to begin with...

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Germán - I think you mean you want to navigate to a specific screen based on the value of a Yes/No field for a specific record in your list.

     

    One example:

     

    If(
     LookUp(
     'Your List',
     ID = 'Some ID,
     'Your Yes/No Field'
     ),
     //If Yes
     Navigate(
     Screen1,
     ScreenTransition.None
     ),
     //If No
     Navigate(
     Screen2,
     ScreenTransition.None
     )
    )

     

    Another example:

     

    With(
     {
     _result: LookUp(
     'Your List',
     ID = 'Some ID',
     'Your Yes/No Field'
     )
     },
     Navigate(
     Switch(
     _result,
     true,//If yes
     Screen1,
     Screen2
     ),
     ScreenTransition.None
     )
    )

     

  • Germán Profile Picture
    Microsoft Employee on at

    Thanks a lot!! That really worked. I knew it would be really simple formula. I was trying something similar, but it wasn't working for me:

     

    If(
     LookUp(MyList, ID = ThisItem.ID).IsApproved, 
     Navigate(Screen1, ScreenTransition.None), 
     Navigate(Screen2, ScreenTransition.None)
    )

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard