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 / How to filter to show ...
Power Apps
Unanswered

How to filter to show only specific location data

(0) ShareShare
ReportReport
Posted on by

I'm building an app from a database that will contain data from multiple manufacturing facility locations. I need to filter the view so that the user can only see the data for their location. Any help would be appreciated!

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @JClift 

    You will need a list of Users emails and their associated location. Then, when the user logs in, capture the location in the App.OnStart:  Set(loc,LookUp(userlist, email =User().Email, location)

    However, according to Microsoft,  App.OnStart will be deprecated and replaced by App.Formulas.

    I am currently using Named Formula so instead of the above set function I am putting 

    loc=LookUp(userlist, email= User().Email, location);

     

    You can then filter your database as Filter(database, Location = loc)

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard