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 / 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,687 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

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 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard