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

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

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard