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 / Update Formula to Only...
Power Apps
Unanswered

Update Formula to Only Show Specific Loctations Based on Hierarchy

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I had a formula that has been updated (thank you @WarrenBelz ). 

 

Sort(

   Filter(

      ParkListCollection,

      varIsProgramHierarchy = "National" || Park=varParkAlpha

   ),

   Park
)

 

I've considered anew my desired outcome; it is - If User heirarchy equals 'Region' that User can only see parks in their region in the Combo Box. Everyone else can see all Parks. 

 

Additional:

1. The 'Member List' and 'Park List' have columns titled 'Park' and 'Region'. A park could be 'Park A', 'Park B', 'Park C'. Each park could be in a different 'Region'

Region is used twice in this database 1) as a location identifier; 2) as a designated 'ProgramHeirarchy'; they are unrelated. A region name could be 'East', 'West', 'South', etc; while a park is could be 'Park A' or 'Park B', and one park could be in 'West' region and the other in 'East' region.

2. The member 'ProgramHeirarchy' is stored in a Text column of the MemberList, along with all other member data. Member 'ProgramHeirarchy' levels are 'National', 'Region', 'Park', 'Employee'.

3. I do have a variable currently called 'varIsProgramHierarchy', the content of which displays the current user's heirarchy. If I drop a label on the screen and put 'varIsProgramHierarchy' in the Text field the content returned is 'National' - which is my ProgramHierarchy.

I also have a varible that identifies the region of the User, and I have a dropdown (on the page but not visible and supports the Combo Box, that has the User's region name in it.

 

Again, what I need is for the formula to allow all members with a heirarchy of 'Region' to see only parks in the region, and all other members able to see all parks.

Categories:
I have the same question (0)

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard