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 function breaki...
Power Apps
Suggested Answer

Filter function breaking for some users

(1) ShareShare
ReportReport
Posted on by 18
Hi community, 
 
I'm encountering an issue where a dropdown is working for some users and it's breaking for others. There is no visible difference between the user profiles in Intra - they have the same setup and privileges.  
 
The dropdown has the following setup for it's Items property: 
 
Filter(
    'Roles List',
    'Person'.Email = User().Email && Not(
        Role in Filter(
            'Entry List',
            'Created By'.Email = User().Email
        ).Role
)
I get a delegation warning on the second part, however I'm working with a small list of values (~ 130 items in both lists). Both data sources are Share Point lists. Users also have the same access to the list. 
 
For the working group, the dropdown correctly shows several roles for which the user has not created an entry. For the non working group - the list doesn't display any items, although it should. 

I've played around and hard-coded different values for User().Email to directly test it in the Power Apps Studio and I get the same result as the end users. 
 
Do you have any idea what may be the root cause for this behavior?
Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    Can you please try the below code and see it works for you?
    Filter(
        'Roles List',
        'Person'.Email = User().Email && Not(
            Role in Distinct(Filter(
                'Entry List',
                'Created By'.Email = User().Email
            ), Role)
    )
     
    Hope this helps.
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
  • Petar Hr. Profile Picture
    18 on at
    Hi Nandit, 
     
    Apologies for the long wait of my reply. 
     
    Unfortunately I'm still searching for an active case where the users still experiences the issue so I can test the suggested code. 
     
    For now both the suggested and original codes work (not exactly sure why) for the accounts that previously had the issue. If I manage to locate & test with an account that confirms your solution, I'll mark the reply as an answer. 
     
    Regards, 
    Petar Hr.
  • Petar Hr. Profile Picture
    18 on at
    Hi again, 
     
    As I submitted my last answer a new user complained about it. :D
     
    So, it's confirmed - Distinct produces the same output as the original code. Still in search for a solution to understand what is wrong with the code.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard