Nodata

254
1
Jump to solution
04-30-2021 08:20 AM
Labels (3)
MohamadAchour
New Contributor III

Hello,

How can I add a no data field to an attribute table (no data and not a value of 0) ?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

Either make a field Nullable in the field properties or you maybe mean how to turn zeros to Null?

I'd say field calculator with a python statement like 

if !Field1! == 0: 
    return None
else:
    return !Field1!

View solution in original post

1 Reply
DavidPike
MVP Frequent Contributor

Either make a field Nullable in the field properties or you maybe mean how to turn zeros to Null?

I'd say field calculator with a python statement like 

if !Field1! == 0: 
    return None
else:
    return !Field1!