Skip to main content

Notifications

Community site session details

Community site session details

Session Id : oU1Er7LcnY2Ij/342YJvmI
Power Apps - Building Power Apps
Unanswered

Power Apps User specific data display on Screen

Like (1) ShareShare
ReportReport
Posted on 20 Jan 2021 17:12:06 by

Hello guys,

 

I have created a power app with user sign up and login page. So, now I wanted to navigate the user to a specific page and I want that page to display user specific data. The page is going to stay constant but it will only have to display data of specific user that logs in. How do I do that??

Categories:
  • najminr Profile Picture
    4 on 18 Jul 2022 at 19:58:26
    Re: Power Apps User specific data display on Screen

    Did this work for you? If yes, I would like to know the details.

  • eka24 Profile Picture
    20,921 on 21 Jan 2021 at 05:32:00
    Re: Power Apps User specific data display on Screen

    Your request seems too general. Are you done with both the Sign up and the Login?

    If you are done with it and you want to filter a Gallery in Power Apps for instance, you could Set a variable as I gave earlier. 

    Then filter the Gallery items as;

     

    Filter (Datasource, Username=LoggedUser)

    This will show only record in relation to that user.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Power Platform Member Profile Picture
    on 20 Jan 2021 at 21:50:55
    Re: Power Apps User specific data display on Screen

    Hello @eka24 @Drrickryp  thank you for the response. I am developing a canvas app basing on a SharePoint list. 

    So, I have put a sign up page(Screen) together; The sign up information will get stored in a list (Name, Username & Password)

    Next screen is Login page (Which will only execute if the info is = to info in the sign up list)

    Can we declare each user's username as given in sign up page as a new global variable as they signup??

    Is this possible when you are building a canvas app from a share point list??

    If yes, how can I declare it?? so that I can use this global variable and filter function in next coming screens to restrict data to user specific.

  • eka24 Profile Picture
    20,921 on 20 Jan 2021 at 19:21:54
    Re: Power Apps User specific data display on Screen

    @Drrickryp is right if your users are all having User account. However if your login is not connected to the ms user account, you could Set a variable to collect the Name entered in the username Textbox.

    So on the login button;

    Set(LoggedUser,UsernameTxt.Text)

     

    Then in the page you want to display, insert a label and put;

    LoggedUser

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on 20 Jan 2021 at 18:56:23
    Re: Power Apps User specific data display on Screen

    Hi @Anonymous 

    Use Set() to set a global variable when the user logs in.  Assuming that there is a User column in the relevant tables,  Use Filter() to limit the data shown in galleries and datatables in the rest of the app.  I have found User().Email to be a good way to capture the information and can get it in the OnStart property of the app

    Set(useremail,User().email)

    email tends to be better than FullName because of spaces and case differences in names. 

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,081 Most Valuable Professional

Leaderboard