Select to view content in your preferred language

ArcGIS Pro- Calculate Fields (Multiple) Respect Null Calculations

280
7
Jump to solution
a month ago
Amanda__Huber
MVP Regular Contributor

Has anyone else seen issues when using the Calculate Fields (Multiple) tool, to calculate fields to NULL. I have tested using both Arcade and Python and the tool says it executes successful, but when viewing the data all the records are still there and are not NULL

Amanda__Huber_0-1749839969357.png

Any insight into this would be appreciated. 

 

Thanks, 

Amanda Huber

0 Kudos
1 Solution

Accepted Solutions
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Hi @Amanda__Huber,

Have you tried setting the expression to Null if arcade or None if python? Typically the expression should be set to one of these depending on the language you are using.

View solution in original post

7 Replies
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Hi @Amanda__Huber,

Have you tried setting the expression to Null if arcade or None if python? Typically the expression should be set to one of these depending on the language you are using.

Robert_LeClair
Esri Esteemed Contributor

I tested RPGIS's suggestion with the expression being Null if arcade and None if python in ModelBuilder as you had in your graphic.  Works as expected.  Add Null or None to your expression parameter and it should work.

RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Hi @Amanda__Huber,

Were you able to get this resolved. I am simply checking because it has been a while and I just wanted to follow up.

0 Kudos
Amanda__Huber
MVP Regular Contributor

Apologies for the delay, yes we were able to! 

0 Kudos
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Great. If it is alright with you I will go ahead and mark my response as the solution.

0 Kudos
Amanda__Huber
MVP Regular Contributor

Marked it!

0 Kudos
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

Thanks Amanda.

0 Kudos