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

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,345)