There is an bug in the dollar expansion handling in the InQlik Variable tool.
When exporting to qvs you change all $ with @ before writing it in the script, then you replace it with chr(39) not chr(36) as you should.
---
set:vL.sum
definition:sum([$(=DynExp)])
---
The current output looks like:
let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(39) & '(');
but it should be:
let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(36) & '(');
There is an bug in the dollar expansion handling in the InQlik Variable tool. When exporting to qvs you change all $ with @ before writing it in the script, then you replace it with chr(39) not chr(36) as you should.
The current output looks like:
let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(39) & '(');
but it should be:
let vL.sum = replace(replace('sum([@(=DynExp)])','~~~', 'chr(39)'), '@(', chr(36) & '(');
Cheers Vegar