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 / Create an function to ...
Power Apps
Answered

Create an function to compare on 2 Sharepoint List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi to All,

 

I have 2 Sharepoint List. 

1) TM

2) TM_2

 

On TM_2 we save the documents created or updated for that day, after that, we copy the information into TM and we delete the information in TM_2 to prepare this to the next day. Therefore, in TM we accumulate the information for all days. 

I need to create a Gallery that show all documents that are in TM_2, but that there aren't into TM... In other words, we need to save all news documents but not documents updated. The name of the field to compare is DocumentNumber.

 

 

Please. Could you help me?

Categories:
  • eka24 Profile Picture
    20,925 on at
    This video from Audrey deal with comparing table using flow. You can make use of it and take the results of the difference into another Gallery.
    https://youtu.be/BpWvL2LK4m8

    If you like this post give thumps up. If it resolved your request then Mark as a solution so that others will easily find.
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about your scenario?

    Does the TM List has same data structure as the TM_2 List? Do you want to 

     

    Based on the needs that you mentioned, I think the Filter function could achieve your needs. I have made a test on my side, please take a try with the following workaround:

    Set the Items property of the Gallery to following:

    Filter('TM_2 List', Not(DocumentNumber in 'TM List'.DocumentNumber))

    Note: I assume that the TM List and TM_2 List has same DocumentNumber field, which is used as compared column.

     

    Best regards,

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