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 / Custom BrowseGallery
Power Apps
Answered

Custom BrowseGallery

(0) ShareShare
ReportReport
Posted on by 248

Hello, 

im trying to build app using excel in onedrive as data and then i have 3 screen, editscreen, browsescreen and detailscreen. and then i want to separate my browsescreen based on user office365, so every user have their own preview data but still on the same excel. is it possible to that ?

Thank you.

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @AdhamFH

    There's a pretty cool function called USER that will help here. User will show information about the current user logged into the app.  To get familiar with USER I suggest you temporarily put each one of these in a separate label and view the result.

     

    User().DisplayName //shows the first and last name
    User().Email //shows the email address

     

    Now that we can tell who the current user is which should we use: DisplayName or Email?  I prefer Email because it will always be unique for each User.  DisplayName is not recommend because there could be a case where two users have the same name (e.g. John Smith and John Smith) 

     

    Next open your spreadsheet on Office365 and add a new column to your table called Email.  Put your email beside any items belonging to you.  You will need at least one record belonging to you for my mini-tutorial to work.  Then add the email address for any remaining users.

     

    Go to back into PowerApps and refresh the datasource.  Do this by going to the left-side menu, clicking the datasource name and selecting Refresh.  Now open your app's BrowseScreen and click on the Gallery.  Change the Items property of the Gallery to this code.

     

    Filter(your_datasource_name,Email=User().Email)

     

    Your app will now only show records belonging to you (the current user)

     

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • AdhamFH Profile Picture
    248 on at

    @mdevaney  Thank you for your response. it helps me 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard