ArcGIS Pro Statistics on Selected Records

1262
16
Jump to solution
12-04-2018 03:10 PM
JoeBorgione
MVP Esteemed Contributor

Using ArcGIS Pro (2.2 in my case) how do you get statistics of a given field for just the selected records?  I have 4400 of 11,500 polygons selected.  I would like to see the mean of just one field: right clicking on the field name and selecting Statistics gives the statistics and distribution of ALL records....

Even summary statistics dosen't honor the selection; all I want to do is look at the mean value while making selections.  Seems pretty simple; gotta be missing something silly...

can't wait to retire....
Reply
0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Esteemed Contributor

Filter, Selection

View solution in original post

16 Replies
DanPatterson_Retired
MVP Esteemed Contributor

Filter, Selection

View solution in original post

JoeBorgione
MVP Esteemed Contributor

Cool.  A little hidden, but it's there:

can't wait to retire....
Reply
0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

I don't know whether to suggest making the selected records the default or not.

I am torn between having bogus stats when a few are selected or all the stats when you don't want them.

A flashing icon perhaps

Reply
0 Kudos
TrishRice1
New Contributor

Sharing for posterity.  I had this same question except I wanted the sum of the selected records, not the mean, so the solution given above didn't help.  Turns out all I needed to do was widen the Chart Properties pane.  Statistics for the selection are to the right of the statistics for the dataset.

Showing that the statistics for a selection are to the right of the statistics for the whole dataset in the Chart Properties pane.

MalleCarrasco-Harris1
New Contributor II

Thank you all for showing your helpful graphics. Is there a way to only calculate the statistics for the selected features?

This is important for us because we do ad-hoc stats on the fly to address questions during our virtual presentations. I'm the newest team member, and the only one using ArcGIS Pro consistently, so I've seen others do statistics of selected features very quickly with ArcMap. Currently, navigating to the attribute table > right clicking the field > getting statistics is already clunky enough for my team, but then it takes longer to calculate the statistics because it does so for the entire data set as well as my selection. I'd like the default to be only the selection, if possible.

Thank you

Reply
0 Kudos
JoeBorgione
MVP Esteemed Contributor

The solution from Trish Rice‌ doesn't suit your needs?

can't wait to retire....
Reply
0 Kudos
MalleCarrasco-Harris1
New Contributor II

Unfortunately not, Joe. The solution by Trish Rice does give me the statistics for my selection, but you'll notice it also gives the statistics for the entire data set.

I am looking for an option to turn off the calculation of statistics for the entire data set, as it is large and I think slowing down the calculation of just the selection. Hence, it's slower than the feature in ArcMap and not going to make the cut for addressing our needs during presentations.

JoeBorgione
MVP Esteemed Contributor

And you want it 'on-the-fly' rather than running Summary Statistics?

can't wait to retire....
Reply
0 Kudos
MalleCarrasco-Harris1
New Contributor II

Correct, we're just looking for something quick to calculate the sum of a field after we've selected it. We don't need an output table from the Summary Statistics tool.