I have folowing data set in my calculation view:
And Im trying create two additional calculated columns for the key ''SAPClient Warehouse TU_NUM":
Column should return ''X", if ((TXT04='CHKO') and (STATUS_VALUE='X')) AND ((TXT04='CHKI') and (STATUS_VALUE='X'))
Column should return "X", if ((TXT04='CHKO') and (STATUS_VALUE=' ')) AND ((TXT04='CHKI') and (STATUS_VALUE='X'))
When I try to create the first column I'm using following code:
if("TXT04"='CHKO',if("STATUS_VALUE"='X', 'X',' '),' ') and if("TXT04"='CHKI',if("STATUS_VALUE"='X', 'X',' '),' ')
But get following syntax error:
Could you give me any tipps about how I can solve my problem in a better way?
Would apreciate any help.
Thanks and BR.