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

455
4
06-18-2019 11:43 PM
Highlighted
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.

Reply
0 Kudos
4 Replies
Highlighted
MVP Esteemed Contributor

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!)

Reply
0 Kudos
Highlighted
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.

Reply
0 Kudos
Highlighted
MVP Regular 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...
Reply
0 Kudos
Highlighted
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 !

Reply
0 Kudos