cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamGibbs
Helper II
Helper II

Unmatched records query in PowerApps

Hi all,

 

I am trying to build some data checking tools into an app. I want to be able to find records that are missing data. Within one datasouce (they are all SharePoint lists) I can make a collection and filter it to display records where a column is missing data.

 

I am stuggling to replicate this across multiple lists - so asking to show all records from datasource 1 which do not have a matching record in datasource 2. Is anyone able to point my in the right direction for this?

 

Thanks,

Sam

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @SamGibbs ,

Do you want to replicate data across multiple lists and filter out the not matching record in datasource1?

If so, you need a unique field, which could be used to justify whether there's matching record.

I assume as Title field is the special field.

Then you could use formula like this to filter:

Filter(datasource1,Not(Title in datasource2.Title))

You will get records that do not have matching Title value of data source2 in data source1.

 

 

Best regards, 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yutliu-msft
Community Support
Community Support

Hi @SamGibbs ,

Do you want to replicate data across multiple lists and filter out the not matching record in datasource1?

If so, you need a unique field, which could be used to justify whether there's matching record.

I assume as Title field is the special field.

Then you could use formula like this to filter:

Filter(datasource1,Not(Title in datasource2.Title))

You will get records that do not have matching Title value of data source2 in data source1.

 

 

Best regards, 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi

 

Thanks for the pointer - that didn't quite work as I needed some extra guidance, but I found this https://powerusers.microsoft.com/t5/Building-Power-Apps/Filter-a-collection-to-exclude-items/m-p/251... which resolved it (it also got rid of the delegation issues).

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (57,054)