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 / Filter Data from Share...
Power Apps
Unanswered

Filter Data from Sharepoint List with Multi data in Single Column

(0) ShareShare
ReportReport
Posted on by 72

Hi all, 

 

I am having a list of Teams which contains from A to G and each Team having responsibilities of Multiple department. so I am having separate list in SharePoint for Teams & Department.

 

I am getting the responsible department ID using below Command:

 

ClearCollect(RespDepartmentID, Filter(DepartmentList,ResponsibilityTeam = "Team B").ID)

 

some Teams having the responsibilities of more than one Department like Team B having 2 Department  and Team A having 4 Department.

So my Issue is I need to filter the Data using single column with multiple ID like below code i used.

 

ForAll(RespDepartmentID,Collect(RespIssues,Filter('Issue Report List', DepartmentID= First(RespDepartmentID).ID)))

 

the above code is working and its get the list of items only for First Department  ID NOT for responsilbe of Department ID.

from above Team B having 2 department but it list only one department Data (that is First in the collection).

Please help anyone how to resolve this.

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Talha 

    It would be easier to make a recommendation if some sample data were supplied.

     

    Can you please provide:

    • Sample rows from your SharePoint list
    • An example of what rows the Filter should return when applied

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Talha Profile Picture
    72 on at

    Hi @mdevaney 

    thanks for replay,

    we are having three List in sharepoint.

    1. Team List

    teams.png

    2. Department list

    dept.PNGdept.PNG

    3. Issue Report list

    issue re.png

    So In PowerApps OnVisible Screen, I need to get the list of the department responsible for Team (like Team A,B etc) and need to collect the List of issues in collection based on the Department.

    The collection data need to shows in PowerApps Gallery.

    Note: I am having RespDepartmentID integer column in Issue Report List which contains the ID of the Department List.

    Thanks

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard