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 Employees based...
Power Apps
Answered

Filter Employees based on the required inductions of a project

(0) ShareShare
ReportReport
Posted on by 7

Hi All,

 

I'm banging my head on how can I correctly filter the employees based on the required inductions from a Project. Below is my data structure.

 

Employee List

ID    EmpName

1     Emp1

2     Emp2

 

ProjectInduction List

ProjectID   InductionID    Title

 1                1                     Cert1

 1                2                    Cert2

 

EmployeeInductions

EmpID     InductionID

1               1

1               2

2               1

 

On the above data structure, I want to filter or get only the employees having the same induction from a Project so the desired result must be showing EMPID 1 since he have all the inductions from the specific project

 

Result collection

EmpID

1

 

 

 

Please let me know if the above is clear. Thank you in advance

 

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @kevinbaroro ,

     

    I assume there are two tables:

    ClearCollect(
    ProjectInduction,
    {ProjectID:1,InductionID:1,Title:"Cert1"},
    {ProjectID:1,InductionID:2,Title:"Cert2"}
    );
    ClearCollect(
    EmployeeInductions,
    {EmpID:1,InductionID:1},
    {EmpID:1,InductionID:2},
    {EmpID:2,InductionID:1}
    );

    Please try:

    RenameColumns(Filter(Distinct(EmployeeInductions,EmpID),CountRows(Filter(ProjectInduction,InductionID in Filter(EmployeeInductions,EmpID=Value).InductionID))=CountRows(ProjectInduction)),"Value","EmpID")

     

    Best Regards,

    Bof

  • kevinbaroro Profile Picture
    7 on at

    Hi @v-bofeng-msft,

    As per implementing the formula you provided, its working as intended. Thank you so much. Such a big help 😊 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard