web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Gallery with a ...
Power Apps
Unanswered

Filter Gallery with a specific E-Mail

(0) ShareShare
ReportReport
Posted on by 203
Hi Power Apps Community,

 

I would like to filter a Power Apps Gallery depending on a specific manager (e-mail) - ex. john.doe@tesla.com. But somehow it doesn't work. How do I have to ajust the items property/formula. You only find examples where it is about the current  user.

 

The goal is that the manager only sees the tasks(items) that are relevant for him.

However, I would like to use the e-mail from my manager for test purposes.

 

Filter('Mitarbeiter Onboard Tasks',
'NotificationSentTo' = "john.doe@tesla.com")

 

bob_taylor_pp_0-1716280062593.png

 

 

I am grateful for any help

 

Greetings

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2026 Season 1 on at

    hey @bob_taylor_pp 

     

    can you try this:

    Filter('Mitarbeiter Onboard Tasks', NotificationSentTo.Email = "john.doe@tesla.com")
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Uismayil Profile Picture
    55 on at

    Hi @bob_taylor_pp 

     

    You may apply below code, if any manager present, it will return the manager email value:

     

    Set(manager, IfError(Office365Users.ManagerV2(User().Email).mail, "no_manager"));
    Filter('Mitarbeiter Onboard Tasks', 'NotificationSentTo' == manager)
     
    If my response has helped resolve your issue, please consider clicking "Accept as Solution" and giving it a thumbs up so others can find it helpful. ….UIsmayil
  • bob_taylor_pp Profile Picture
    203 on at

    Unfortunately, it does not work. I have already tried various things. I get errors every time. Could it be that the authorizations in the sharepoint itself are not sufficient to filter the data accordingly?
    NotificationSentTo is a simple text column with the corresponding e-mail addresses of the respective managers.

     

    bob_taylor_pp_0-1716281799173.png

     

  • mmbr1606 Profile Picture
    14,605 Super User 2026 Season 1 on at

    what kind of column is the NotificationSentTo? have u already tried to delete the single quotes? single quotes are normally used when u have a space in between of column names.

     

    so instead of 'NotificationSentTo' use NotificationSentTo

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • bob_taylor_pp Profile Picture
    203 on at

    I have now considered another column to make it easier

    Aufgabenbesitzer is a column of the type person. I would like to filter the whole gallery now only by a person (manager) who has the corresponding e-mail.

    bob_taylor_pp_1-1716283786778.png

     

     

    bob_taylor_pp_0-1716283707309.png

     

  • Uismayil Profile Picture
    55 on at

    Hi,

    You may try:

    Set(manager, IfError(Lower(Trim(Office365Users.ManagerV2(User().Email).mail)), "no_manager"));
    Filter('Mitarbeiter Onboard Tasks', Lower(Trim('NotificationSentTo')) = manager)

    While testing, make sure that the logged-in user has a manager  available (also ensure the connection to Office365Users is established). If errors persist, break down your screen items individually to identify where the error is originating from.

    Refresh the database and check if errors persist. The 'NotificationSentTo' column should be present in the 'Mitarbeiter Onboard Tasks' database.

  • mmbr1606 Profile Picture
    14,605 Super User 2026 Season 1 on at

    have you tried my example from above? using the person type column you would need to reference the .Email property of the person field like this:

     

    Filter(DataSource, Aufgabenbesitzer.Email = "manager@example.com")
    

     

    is that working?

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • bob_taylor_pp Profile Picture
    203 on at

    Thank you very much for your help.
    I think I may have explained it too badly. The goal is that the manager finds its task(items) filtered via Power Apps. I wanted to test this with the e-mail from my manager. To have his view, so to speak.

  • bob_taylor_pp Profile Picture
    203 on at

     

    Unfortunately, it is still not working. Could it be due to the permissions in the sharepoint itself for my user (account)?

     

    bob_taylor_pp_0-1716284509198.png

    bob_taylor_pp_1-1716284549093.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard