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 / filtering a gallery ba...
Power Apps
Unanswered

filtering a gallery based on data from another table

(0) ShareShare
ReportReport
Posted on by 178

I have a series of tasks that all members of a team have to complete individually.

That series of tasks is stored in DataSource1 and presented to the team in Gallery 1.  All users have to complete all tasks in the gallery.

 

Right now the Items in Gallery1 are just listed as

 

Items=SortByColumns(cbks_JourneyMapRequirementsList,"ID",Ascending)

 

Each user selects tasks from Gallery 1, which calls a form that allows the user submit a record of completion to DataSource 2

In DataSource 2 a record gets created with the User Name, Task completed and a TaskCompleted ID that matches the corresponding ID in DataSource 1

 

Users will complete tasks ar their own pace.

I would like to set up gallery 1 in such a manner that Users only see tasks in it that they still need to complete.

 

I presume this is a filter [or two] but I am stuck in how to write it

 

Categories:
I have the same question (0)
  • kooliokevin Profile Picture
    39 on at

    Maybe something like 

     

    Filter(
    	TaskList,
    	!(TaskID in Concat(DataSource2, TaskCompletedID & " "))
    )

    oops forgot you need to filter by the username too, let me think a bit more on this

     

  • kooliokevin Profile Picture
    39 on at

    try something like this:

     

    Filter(
    	TaskList,
    	!(TaskID in Concat(
    		Filter(CompletedTasks,'Name'=User().FullName),CompletedTaskID & " ")
    	)
    )
  • GreenJaguar Profile Picture
    178 on at

    Thanks @kooliokevin 

    I will also see where I can get from where you started

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard