Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

How can I compare two values ​​of two collect with their id?

Hello community, I have a question.


I have a problem when comparing two different values ​​of an inventory, I attach an image the example.


I have these two collects, how can I compare all the collect of deliveries by the id to know that the quantity of output is less than that of the inventory. (Like in the product6 there should be a mistake)

How could it be solved by means of a forall with if or something that can solve the problem.







Excellent exactly that I was looking for, now I can generate it without having any extra collect.

Thank you very much for the help and the quick response.




Super User
Super User


No problem, always a pleasure!

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,486)