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 / Compare the filtered d...
Power Apps
Answered

Compare the filtered data of a table with another table

(0) ShareShare
ReportReport
Posted on by 69

Good day

New to Power Apps and trying to accomplish the following:

I have two tables named Contacts and Groups. The Contacts table has a column named Group and the Groups table has a column named Group_short_name  which has the same values. The Group table also has a column named Process_sequence_number.

I want a filtered list where the values in the Group column of the Contacts table is equal to the values in the Group_short_name column of the Groups table and where the Process_sequence_number in the Groups table is equal to Can1.

So I want this filtered list- Filter(Groups,Process_sequence_number="Can1") to be compared to the Group column in the Contacts table.

Forum picture.png
Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @AlwynSchutte 

    Based on your picture, can you describe what the resultant table is that you want from that sample data?

    Is it groups you want a filtered result from, or Contacts?

  • AlwynSchutte Profile Picture
    69 on at

    Hi Randy

    The filtered list must be from the Contacts table.

  • AlwynSchutte Profile Picture
    69 on at

    Hi Randy

    To try and explain it better. I display a gallery with title and subtitle. The gallery title and subtitle list must be populated from the Contacts table which is the Full_name column and the Group column in the Contacts table. The filter must compare all values in the Group column from the Contacts table to the Group_short_name in the Groups table as well as  where the corresponding values in the Process_sequence_number column in the Groups table is equal to Can1. So the Contacts table list must be limited to only Can1 values in the Process_sequence_number column in the Groups table.

  • AlwynSchutte Profile Picture
    69 on at

    What I got so far is Filter(Contacts,Group in Groups.Group_short_name)  now I want the filter limited to where Group_short_name is equal to Can1 in the Process_sequence_number column in the Groups table. There will be multiple Can1 values in the Process_sequence_number column- all of them must be included in the final filtered list.

  • AlwynSchutte Profile Picture
    69 on at

    This function returns only one record instead of three: Filter(Contacts,Group in Filter(Groups,Process_sequence_number="Can1").Group_short_name)

  • Verified answer
    AlwynSchutte Profile Picture
    69 on at

    I actually had a look at the my Contacts table again and the function works! Some of the data changed and when I add new data the filtered list updates.

    Filter(Contacts,Group in Filter(Groups,Process_sequence_number="Can1").Group_short_name)

     

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
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard