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 Platform Community / Forums / Power Apps / Filter Canvas app list...
Power Apps
Answered

Filter Canvas app list unique varilable

(0) ShareShare
ReportReport
Posted on by

I have two canvas app list gallery which pulls from a SharePoint list of messages between project team and clients. the first filters the list depending on the current user like this:

 

Filter('Source', AssignedUser.Email = User().Email)

 

If the client replies I have set the app to create a new list item for further messages from the project team. 

 

I'm attempting to get the list second gallery item to filter the assigned users column but only list the new reply list items. 

 

Filter('Source List', AssignedUser.Email = User().Email || Not(IsBlank(ReplyID))

 

However this as expected brings back all items assigned to the user, regardless if it is a first response or a follow on response. 

 

Any suggestions would be most helpfull. 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    Hi @Ben_C ,

    It is not clear from your post how you identify the "follow on response", but if you want the latest response

    LookUp(
     Sort(
     'Source List', 
     ID,
     Descending
     ),
     AssignedUser.Email = User().Email || !(IsBlank(ReplyID))
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Ben_C Profile Picture
    on at

    Hi @WarrenBelz, sorry I forgot to mention I have a lookup column to the client reply list which looks up the ID pof the reply. The second response list item is created when the client submits a reply and that lookup column is populated. 

  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    Hi @Ben_C ,

    So is that still not the newest response? If not what attributes will it have? Also I suggest you think hard about using Lookup columns - they are generally not needed and will cause you more unnecessary grief than you need.

  • Ben_C Profile Picture
    on at

    I've just realised I have used the wrong operator. I don't want OR I wanted to use AND.

     

     

    Filter('Source', AssignedUser.Email = User().Email && Not(IsBlank(ReplyID.Value)))

     

     

    This still dosen't bring back just the current replies however. 

     

    ---EDIT---

     

    Also realised that the test data I was using wasn't assigned to anyone. So it was working afterall. 

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 765 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 272

Last 30 days Overall leaderboard