Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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:
  • Germán Profile Picture
    Microsoft Employee on at
    Re: Navigate to screen depending on YES/No column sharepoint list

    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)
    )

     

  • Verified answer
    Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Navigate to screen depending on YES/No column sharepoint list

    @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
     )
    )

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,535 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard