Select to view content in your preferred language

Save Output in Table without overriding

691
3
06-29-2023 05:12 AM
TimThiele
New Contributor

Hello dear ESRI community,

I have a problem with creating a table in ModelBuilder.
The ModelBuilder should:
For each individual circular-area, give out the number of locations only inside the area (image 1 green dots) and save the sum of all attributes for CO2 into a new table.

The code (see image 2) works for a single area and I have already set an iteration right at the beginning of the code. but I think that after the sum statistic, the table is created but the column is overwritten after each iteration.But I would like to save each iteration step as a separate row in the output table.


Question:
How do I save the result as a new row in the table after each iteration?
Is there a tool or a basic method to implement this?


Image 1:

Image1.JPG

Image 2:

Image2.JPG

  

3 Replies
TonyContreras_Frisco_TX
Frequent Contributor

Model Builder includes an Iterator element that can used in this situation. Only one iterator can be used in a model.

0 Kudos
TimThiele
New Contributor

Hi Tony,

I have already set an iteration right at the beginning of the code.
This is also executed, however I would like to save each iteration step as a separate row in the output table.

0 Kudos
Raul_Jimenez
Esri Contributor

Thanks @TonyContreras_Frisco_TX and @TimThiele for your help here!

I think this questions is better suited for ArcGIS Pro Questions. I'm moving it there.

0 Kudos