cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Canadiansal
Helper V
Helper V

Gallery Items

I have a Datasource that contains Email addresses as a Field.

My Gallery currently has "Datasource" in the Items settings. This displays all the records in my datasource.

Is there a way to filter this, so that only records with a specific email address is visible?

 

1 ACCEPTED SOLUTION

Accepted Solutions

If it's just one specific email address, you can try the Filter function?
Filter(YourDatasource, YourEmailColumn = "YourEmailAddress")

View solution in original post

5 REPLIES 5
Bochie
Helper II
Helper II

Hi! How many specific records are these? do the email addresses have the same domain?

there might be about 36 unique emails with about 360 records- yes all from the same domain.  but i only want the records associated with a specific email to be displayed.

If it's just one specific email address, you can try the Filter function?
Filter(YourDatasource, YourEmailColumn = "YourEmailAddress")

View solution in original post

Canadiansal
Helper V
Helper V

I am getting an "invalid argument type" error.

Filter('DataSource',Owner = "email@email.ca")

If your Owner column is stored in SharePoint or Azure AD, then most likely it will need to be "Owner.Email" rather than just Owner. 

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (59,431)