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 Apps
Answered

Filter not working

(0) ShareShare
ReportReport
Posted on by 27

Hi,

 

I have an App built from a SP list. I am trying to filter on open actions and where the user is included in the responsible column field.

 

I have set the OnStart condition to:

ClearCollect(collection, 'Delivery Tasks Tracker');
Set(varUser, Office365Users.MyProfile().DisplayName)

 

I have Set the Items condition to:

SortByColumns(Filter([@'Delivery Tasks Tracker'], Progress.Value = "Not Started"||Progress.Value <> "In Progress" && Responsible.DisplayName = varUser),"Title",If(SortDescending1, Descending, Ascending))

 

The progress filter worked fine until I added the extra filter on the responsible person which also doesn't seem to do anything. 

 

Am I missing something obvious?

 

 

Categories:
I have the same question (0)
  • Jagadeeshk Profile Picture
    457 on at

    There are cases where sharepoint and powerapp shows different display names. Please ensure the same. Or try

    Try

    1. Set(varuser, user().email)

    Filter( responsible.email=varuser)

  • Verified answer
    arkroyal Profile Picture
    27 on at

    Managed to sort it I think. Added an And to the filter and it seems to work. Thanks for the suggested solution.

     

    SortByColumns(Filter([@'Delivery Tasks Tracker'],And(Responsible.DisplayName = varUser||'Responsible 2'.DisplayName = varUser||'Responsible 3'.DisplayName = varUser||'Responsible 4'.DisplayName = varUser,Progress.Value = "Not started"||Progress.Value = "In progress")),"Title",If(SortDescending1, Descending, Ascending))

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard