Hi,
Tried with the search and didn;t found a solution and posting the code to see if someone can help me out.
Below is the code I'm trying and it is a string.I'm getting a String is Non-numeric error.
Pls advice
if isnull({ZGCB_M01_ZBOBJ_ZGCB_M01_QFIN_ANLSIS1_V7.[0FISCYEAR]-[20FISCYEAR]}) or
then
0
else
tonumber(ToText({ZGCB_M01_ZBOBJ_ZGCB_M01_QFIN_ANLSIS1_V7.[0FISCYEAR]-[20FISCYEAR]}[4 to 7])
Tried with the search and didn;t found a solution and posting the code to see if someone can help me out.
Below is the code I'm trying and it is a string.I'm getting a String is Non-numeric error.
Pls advice
if isnull({ZGCB_M01_ZBOBJ_ZGCB_M01_QFIN_ANLSIS1_V7.[0FISCYEAR]-[20FISCYEAR]}) or
then
0
else
tonumber(ToText({ZGCB_M01_ZBOBJ_ZGCB_M01_QFIN_ANLSIS1_V7.[0FISCYEAR]-[20FISCYEAR]}[4 to 7])