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 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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard