Question

how to write a formel


Badge

hi,

how can I write in AttributeCreator iff the Value is missing than set Value to 0 ?

I have the created a form, see screenshot, and that is correct, but sometimes the Value of "_Anzahl_DT" is "missing" and then I do not get any Value in results..

I need to write in this form this case, that when Value of _Anzahl_DT is missing, than write 0 instead so the formel can count it with 0.

 

thanks.

 


2 replies

Userlevel 6
Badge +32

You can put a conditional statement in the result.

conditional2018.fmwt

Badge

Another tip is to clean up the data with a NullAttributeMapper before the AttributeCreator. Then you can map <missing> to 0.

Reply