Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, Is this possible in QlikView? I'd like to define a function that does some simple math
define addTheseForMe(int a, int b):
return a+b;
MyTable:
LOAD if(ColA = x AND colB = y, addTheseForMe(ColA,ColY),null())
RESIDENT some_table;
Hi,
You can do:
SET addTheseForMe = $1 + $2;
MyTable:
LOAD if(ColA = x AND colB = y, $(addTheseForMe(ColA,ColY)),null())
RESIDENT some_table;
Regards,
Aurélien
Hi,
You can do:
SET addTheseForMe = $1 + $2;
MyTable:
LOAD if(ColA = x AND colB = y, $(addTheseForMe(ColA,ColY)),null())
RESIDENT some_table;
Regards,
Aurélien