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 / Filter Gallery Items B...
Power Apps
Answered

Filter Gallery Items Based on Email addresses in SP List

(0) ShareShare
ReportReport
Posted on by 47

Hi Everyone! I am creating an app where I am using the gallery items to populate the form based on an SP list. These gallery items are based on the country keyed-in in the text input and can be processed by 1 or more persons depending on the email address(es) indicated in a column in the SP list called "System Owner Email Add". However, the current formula that I am using can only accept 1 email address. If the cell in the in the column "System Owner Email Add" contains multiple emails address, the gallery items will only be visible to the first email address in the cell.PowerAppNoob_0-1613095350577.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This is the current formula that I am using:

Filter('SP List', TextInput2.Text in CountryColumnSPList, Status<>"Finish", 'System Owner Email Add'= varUser.Email).

 

My goal is for the galley items to be visible to all the users indicated in the "System Owner Email Add" column and any of them will be able to process the task.

 

Below is the simplified SP List.

 
Server NameCountrySystem Owner Email AddAction Taken
Server ACountry Aabc@abc.com
def@abc.com
ghi@abc.com
This will be based on whichever action is selected in the app by the System Owner.
Server BCountry Bjkl@abc.com
mno@abc.com
This will be based on whichever action is selected in the app by the System Owner.
 

Any help will be greatly appreciated.

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PowerAppNoob :

    Please try this formula:

    Filter('SP List', TextInput2.Text in CountryColumnSPList, Status<>"Finish", varUser.Email in 'System Owner Email Add')

    Best Regards,

    Bof

  • PowerAppNoob Profile Picture
    47 on at

    Hi @v-bofeng-msft! Should the email addresses in the SP List be separated by semicolon?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PowerAppNoob :

    It does not matter with or without semicolon.

    Best Regards,

    Bof

  • PowerAppNoob Profile Picture
    47 on at

    Hi @v-bofeng-msft ,

     

    Is there a way to show in the SP List which server owner submitted the form?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PowerAppNoob :

    There is a default column called "Created by" in a SPList. You can use this column to know who created this item.

    1.JPG

    Best Regards,

    Bof

  • PowerAppNoob Profile Picture
    47 on at

    @v-bofeng-msft  Thank you! Everything is working now. 🙏

  • dcvaLENZUELA Profile Picture
    2 on at

    Thanks for sharing. Solved my current issue with multiple email in one column.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard