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 / Canvas App - User not ...
Power Apps
Answered

Canvas App - User not able to use Dropdown filters

(0) ShareShare
ReportReport
Posted on by 114

Hi all

 

I have a canvas app with a sharepoint list data source less than 2000 entries. I have two screens, one screen has a gallery that can be filtered depending what options have been selected on two dropdowns on the screen:

 

Screen 1 -this one should filter the sharepoint list by the User().Email and then dependent on the dropdowns selected. This works perfectly for me, but does not work at all for another user:

 

ITEMS property of this gallery:

Filter(
 Sort(
 [@'Fundraising Pipeline'],
 Deadlinem,
 SortOrder.Ascending
 ),'Allocated to' = User().Email &&
 (Dropdown4.SelectedText.Value = "All" || Status = Dropdown4.Selected.Value) &&
 (Dropdown1.SelectedText.Value = "All" || Deadlinem = Dropdown1.Selected.Value) &&
 TextSearchBox1.Text in Title
 
)

 

However the other screen:

 

This doesn't filter by User().Email, the User is selected via a dropdown:

 

Filter(
 Sort(
 [@'Fundraising Pipeline'],
 Deadlinem, SortOrder.Ascending
 ),
 (Dropdown4_1.Selected.Value = "All" || Status = Dropdown4_1.Selected.Value) &&
 (Dropdown1_1.Selected.Value = "All" || Deadlinem = Dropdown1_1.Selected.Value) &&
 ('Allocated to' = If(Dropdown4_2.Selected.Value = "All", 'Allocated to', Dropdown4_2.Selected.Value))
 && TextSearchBox1_3.Text in Title 

 

This works fine for the user - this proves there isn't a permissions issue with the Sharepoint List, so I'm struggling to work out why one works and the other doesn't.  This person has about 183 records allocated to them, out of a total of 700 on the sharepoint list. I tested moving his allocation to me and everything worked fine, so it can't be a delegation issue either. 

 

Any ideas why one would work and the other wouldn't?

 

Thanks, 

 

 

Categories:
I have the same question (0)
  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @BenBennett321 

     

    User().Email is not always the same case as PersonColumn.Email in SharePoint.
    The Filter function is case sensitive.

     

    Try:

     

    With(
     {
     fvar_query: Sort(
     [@'Fundraising Pipeline'],
     Deadlinem,
     SortOrder.Ascending
     )
     },
     Filter(
     fvar_query,
     Lower('Allocated to') = Lower(User().Email) &&
     (Dropdown4.SelectedText.Value = "All" || Status = Dropdown4.Selected.Value) &&
     (Dropdown1.SelectedText.Value = "All" || Deadlinem = Dropdown1.Selected.Value) &&
     TextSearchBox1.Text in Title
     )
    )
  • BenBennett321 Profile Picture
    114 on at

    Thank you so much, having written out the problem I thought there must be an issue with the User().Email call, and searched the user using the Office365Users connector and lo and behold this user had capital letters in the email. Didn't know how to rectify this and then your solution appeared, thanks so much I really appreciate it!

  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    You're welcome!

    d(-_-)b

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard