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 / PowerApps Loading scre...
Power Apps
Answered

PowerApps Loading screen depending on logged-in user lookup with different User List

(0) ShareShare
ReportReport
Posted on by 118

Hello everyone, 

I have an SP list with request data called, "Request_Data", and another List with Approvers Data called "Approvers" with fields: Name (Person Field), Category (Choice).  

I also have two different landing screen one for User landing called "User_Screen" another is for Approvers called "Approver_Screen".  

Now I would like to land the logged-In users to the "User_Screen" who are not listed in the "Approvers" List and the logged-users to the "Approver_Screen" who are listed in "Approvers " list filtered by category 'Approver' and 'Backup Approver' .

 

Is it possible to accomplish in PowerApps Canvas app? I have no clue from where to start 😞 

Appreciate if your guidance

Thanks

Regards,

Leo

 

Categories:
  • Harm_Jan Profile Picture
    64 on at

    Hi,

     

    I would advise you to use the 'StartScreen' property of your Power App to accomplish this. You can find the 'StartScreen' in the left panel 'Tree View' by clicking at 'App'.

     

    In the 'StartScreen' property you could use a formula similar to this one:

     

    If(User.FullName in Approvers.Name, Approver_Screen, User_Screen)

     

     

    However, I would suggest using a different entity than 'Name' to identify the user. A name often isn't unique within big organizations. It's better to switch to the User Principal Name, e-mail or UserID.

     

    Hope this helps!  🙂

     

     

  • leonardbd Profile Picture
    118 on at

    Hi Harm,

    Thanks for your reply. It didn't work in my case. Getting error right under the 'User.Fullname'. As Im checking with logged in user name would it be like .. If(User().Fullname ..? Doesn't work either. As I have mentioned, Approvers 

    List has Name (Person), so I can compare also with Name.Email. 

    However, I have another IF function in startScreen Property that doesn't allow two IF condition separated with " ; ".

    I'm Stuck 😞

  • Verified answer
    jatcube Profile Picture
    508 on at

    @leonardbd you can still use OnStart as well as the StartScreen. Just make sure to choose the most appropriate for the StartScreen and leave the rest to the OnStart.

     

    That said, try this

     

    If(!IsBlank(LookUp(Approvers, User().Email = Name.Email)), Approver_Screen, User_Screen)

     

     

     

  • leonardbd Profile Picture
    118 on at

    Thanks jatcube ,

     

    This one works for me. You made my day, thanks again 🙂

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard