Calculated Field Error for Creating Yes/No Flag

Hello @yipk !

I would recommend moving the avgOver calculation to its own and retrying this calculated field:

avgOverCalc = avgOver({pkg_count}, [{sort_center}, {parent_stacking_filter},{stacking_location}])

ifelse(
contains({stacking_location}, ‘-FLAT’) = 'True' AND 
avgOverCalc < 250, 
‘Y’, 
‘N’)

I also recommend checking out this blog post from one of the community experts:

Let me know if this helps!

1 Like