cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to add permissions on a gallery.

I have a gallery that is currently using the below formula allowing me to select between different items depending on their status, as well as the ability to search through the search bar.

 

Search(AddColumns(

Filter('Hire Authorisation Submit',_requestTypeFilter = "All" ||

Status.Value = _requestTypeFilter),"Field5Text",Department.Value),

'Hire Authorisation Search Bar_1'.Text,"field_6","field_7","field_8","field_9","field_4","Field5Text")

 

I’m looking to add an additional item to this formula meaning users can only view the form responses that they’ve submitted and are linked to their email. What would I need to add to the above formula to make this work, please?

 

I've had a try with a few if and filter formulas but I can't seem to make them work within the above formula.

 

Data source: 'Hire Authorisation Submit'

Search bar name: 'Hire Authorisation Search Bar_1'

Column within the data source for email field: ‘email’ / “field_3”

11 REPLIES 11
Anonymous
Not applicable

You sir, are a genius. THANK YOU! Really appreciate the help @RandyHayes 

 

That's now working perfectly. 

RandyHayes
Super User
Super User

@Anonymous 

Excellent!  Sorry for the delay, but glad it is working now for you!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,165)