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 the Two Sc...
Power Apps
Answered

Navigate to the Two Screen, based on User in Two SP List

(0) ShareShare
ReportReport
Posted on by 438

I am trying to navigate users to a screen based on their lookup of User().FullName in two SharePoint lists. Students or staff who click the 'PBiS' icon will be directed to one of two screens, depending on their access in the SharePoint lists.

 

1. DHS Student Users will be directed to the 'PBiS Student Portal.'

2. DHS Staff Users will be directed to the 'PBiS Staff Portal.

 

How it's work with that?

If(LookUp('DHS Students Users', 'Full Name' = User().FullName, Navigate('PBiS Student Portal') || 'DHS Staff Users', 'Full Name' = User().FullName, Navigate('PBiS Staff Portal')

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,496 Most Valuable Professional on at

    Hi @dylandavis09 ,

    You need to compare a field in that list with a value - something like this

    If(
     LookUp(
     'DHS Students Users', 
     'Full Name' = User().FullName
     ).FieldName = "SomeValue",
     Navigate('PBiS Student Portal'),
     Navigate('PBiS Staff Portal')
    )

     

    Please click Accept as solution 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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • dylandavis09 Profile Picture
    438 on at

    Hi @WarrenBelz, this may be working, but I have two SharePoint lists. For example, I have shown you what I look like I want.

     

    Screenshot 2023-11-05 023900.png

     

    Otherwise, if neither of the SharePoint lists has 'lookup user().fullname,' it means you can't click the icon.

     

  • WarrenBelz Profile Picture
    154,496 Most Valuable Professional on at

    @dylandavis09 ,

    Sorry, but a bit lost here. What is the field in these lists you are matching the logged-in user with and are you simply seeing if they exist in that list ?

  • dylandavis09 Profile Picture
    438 on at

    It's okay. I'm using the 'Full Name' field in SharePoint lists.

  • Verified answer
    WarrenBelz Profile Picture
    154,496 Most Valuable Professional on at

    @dylandavis09 ,

    I am going to take a guess that my second question is correct - you are looking to see if they exist in either list

    If(
     !IsBlank(
     LookUp(
     'DHS Students Users', 
     'Full Name' = User().FullName
     ).Full Name
     ),
     Navigate('PBiS Student Portal'),
     !IsBlank(
     LookUp(
     'DHS Staff Users', 
     'Full Name' = User().FullName
     ).Full Name
     ),
     Navigate('PBiS Staff Portal')
    )

     

    Please click Accept as solution 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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • dylandavis09 Profile Picture
    438 on at

    It's worked! Thank you so much for help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard