Can't use graduated colors because "field does not contain quantitative data"

2700
4
06-18-2019 11:43 PM
remisap
New Contributor II

Hi,

In a layer I have 100 features with a counter attribute of type Long. The values range from 3 to 10000. I'd like to create a graduated color symbology but I'm stuck with this error message.

This field does not contain quantitative data to generate symbology. 
A temporary symbol class has been created.

What's happening  ? 

Thanks.

0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus

Add a new field of type 'double', call it something (eg 'New_class')

Calculate the new field using the values from the old field (eg 'Count_fld')

use the python parser, so that...  !New_class! = float(!Count_fld!)

0 Kudos
remisap
New Contributor II

FYI, when a query use the view_extent parameter, the query must complete when the parameter is null, otherwise he query to discover the range of possible values fails which results in this error message.

0 Kudos
DanPatterson
MVP Esteemed Contributor

What is in your field? numbers? text that looks like numbers?  Null values are handled by symbology regardless of data type


... sort of retired...
0 Kudos
remisap
New Contributor II

Hi Dan, the query had indicators of type integer, bigint and double.

After handling the case when view_extent is null, the distribution of values appeared and graduated colors worked !

0 Kudos