New answers tagged iterator
The images below are a different way to solve this. In the Summary statistics tool I am collecting the Count of the ObjectID field and then appending this into a pre-existing empty table.
You are close. In both models you will need to add the model only tool Calculate Value. The output of that tool should also be an output parameter of the inner model. You can't use the output of collect values as the input directly so set it as the precondition. Then set the expression of Calculate Value to: sum_counts('%Row Counts%') %Row Counts% is ...
A simple model using the tables iterator was enough to do what I needed to do, see the pic: When I have time I will try the "merge" option that artwork21 suggested, as I believe that would be another easy way around it. Thank you for your quick responses! A
If your 9 Join Tables are of the same database schema you could eliminate the iterator thought by just merging those 9 layers together (keeping only the fields you need), then perform the Join Field function once on the merged grid.
Top 50 recent answers are included