cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

HELP! I need help with comparing two tables.

I need help with a page on my app. I am trying to build an app that creates a list of absentees (people who have yet to check in.) I am using sharepoint as a data source. I need to compare a Static list of Employees (a list of people who work at the organization) with a dynamic daily check in list of people. I need to compare the two and spit out a list of the people who have yet to check in. Does anyone have a clue as to how to go about this?

So far I have messed around with the "ForAll," "Collect", and "LookUP" function with no success.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: HELP! I need help with comparing two tables.

Hi @notme 

If you have a column that is an exact match in both tables you can put a Gallery on the screen with the Items property, In this case ID but you could use badge number or User().Email if it matches in both lists.

 

Filter(
        Employees, Not(
                        ID in Attendees.ID
                    )
)

 

or create a collection

 

ClearCollect(
              colAbsentees,Filter(
                                  Employees, Not(
                                                  ID in Attendees.ID
                                              )
                            )
)

 

 

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: HELP! I need help with comparing two tables.

Hi @notme 

If you have a column that is an exact match in both tables you can put a Gallery on the screen with the Items property, In this case ID but you could use badge number or User().Email if it matches in both lists.

 

Filter(
        Employees, Not(
                        ID in Attendees.ID
                    )
)

 

or create a collection

 

ClearCollect(
              colAbsentees,Filter(
                                  Employees, Not(
                                                  ID in Attendees.ID
                                              )
                            )
)

 

 

View solution in original post

Highlighted
New Member

Re: HELP! I need help with comparing two tables.

Thank you! that seemed to have done the trick. 

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,165)