Select to view content in your preferred language

Calculate Field Issue

66
1
15 hours ago
Labels (1)
MarkAnderson6
Emerging Contributor

I am trying to calculate a field I created. The apparent glitch is as follows: The field has data points from two geographic extents. A recently created congressional district now has portions of two prior districts within its new boundaries. I am trying to show margin of victory in both old districts by one party. When I write the expression, it returns values only for one district and for the second district it returns zeroes. 

My expression is as follows:

$feature. GCON01XXX-$feature.GCON01YYY;

$feature.GCON03XXX-$feature.GCON03YYY

it is a valid expression, yet only returns the values for the first line of the expression. Is this calculation for both extents possible? If so, what syntax thing am I missing?

If not possible, how do I fix it to get the data I need for both extents?

 

Thanks in Advance

 

Mark

Tags (2)
0 Kudos
1 Reply
AyanPalit
Esri Regular Contributor

@MarkAnderson6 Seems doable and eager to help, but I don't understand the details.

The field has data points from two geographic extents - what field is this GCON01XXX or GCON01YYY? Perhaps a screenshot of the map and few rows of the data will help explain.

Ayan Palit | Principal Consultant Esri
0 Kudos