Skip To Content

Automate your analysis with models

Insights for ArcGIS automatically captures every step of your analysis in the analysis view for your workbook page. Once a model is shared, it can be added to your page and rerun using the same or different data.

Add a model to your page

Note:

  • Models do not share data. You must add data to your page in addition to adding the model. You can add data and models to your page at the same time.
  • If you did not create the model, the owner of a model must share the model item with you before you can use it.

  1. Click Add Data to open the Add to Page window.
  2. If your page does not have any datasets, choose your data.
  3. Under Add to Page, click Model.
  4. If this is a model you created, choose Contents. If you're not the model owner, choose Organization.

    Available models are listed in the contents pane.

  5. Optional: If you want more information about a model in the list, such as a description, click View details.
  6. Choose the model and click Add.

Next step: Update the model with your data (see below).

Update the model to run analysis automatically

If you want to use a shared model, you must add the model to your page, as well as the data you want to use for your analysis.

If you have already run analysis on your page, you can rerun the analysis from the Analysis View by updating the data in the model, or by changing the parameters in your spatial analysis.

Rerun the analysis with different data

  1. Click the Analysis view button Analysis view.
  2. Click Update in the dataset bubble you want to update.

    The Replace Data panel appears.

    The available fields to choose for the analysis steps, such as aggregation, change to reflect the fields from your chosen dataset. The model is flexible enough to use any field, provided it has the same field role as the field that was used to create the model. The Replacement field list contains fields with the same field role as the field chosen for Original field. For example, if Original field contained a string field String field, called StoreName, the only fields available in the Replacement field list are string fields.

    Replace Data panel from a model

  3. Choose different fields to rerun the analysis with different data.

    For example, if you created a bar chart aggregating SalesAmount by StoreName, you can choose a different field to use as a category, such as PaymentMethod.

    Tip:

    If you don't see the field you expect to see in the list, choose a different dataset from the Choose Dataset list.

  4. Click Update.

    The model is applied to the updated data, and you see the analysis results, in the form of cards, on your page.

  5. Click the Page view button Page view to see the cards on your page.
  6. You can also rerun your spatial analysis with different parameters using the Edit button Edit.
    Edit parameters from the analysis view

Update parameters to rerun the analysis

  1. Click the Analysis view button Analysis view, if you're not already in the analysis view.
  2. Click a step in the model that represents a spatial analysis capability, such as Calculate Density.
  3. Click Edit Edit.

    The panel appears. You can't choose a different map layer for the spatial analysis, but you can adjust other parameters. For example, you may want to rerun the Calculate Density with a different search distance from the default, or use a different classification method for your results.

  4. Change the parameters.
  5. Click Update.

    The analysis runs and overwrites the previous results in the data pane.

  6. Click the Page view button Page view to see the updated map on your page.

Model example

Below is the page view of a weekly sales-by-store analysis that visualizes results as a bar chart and a proportional symbol map.

Page view of an analysis showing sales aggregated on a bar chart and a map

Below is the model of that analysis in the analysis view.

Model showing analysis activity

This model shows the steps that were involved in creating the results shown in the page view:

  1. Add two datasets to your page.
  2. Enable location in the first dataset.
  3. Create a relationship to join the two datasets.
  4. Aggregate the data by categories to create a bar chart.
  5. Aggregate the data by geography to create a proportional symbol map.
  6. Style the map according to the chosen field. This happens automatically when a map is created.

Note:

Although the model indicates that a join (step 3) was performed on the two datasets, it shows them as separate dataset bubbles. You can switch between the datasets to select the fields from either dataset to rerun the analysis.