on 2021 Apr 14 2:33 AM
Hi All,
I am trying to remove zeros for records that are 18 characteres in size, example:
000000000000650131
i am using the following furmula in the internal column of the conversion file but it does not work:
*If(js:%external%.lenght = 18 then js:%external%.substring(12,6);%external%)
the parameter CONVERT_INTERNAL in the transformation file = NO.
the warning in data manager for dimension is
"%EXTERNAL%"
thanks for your help!!!!!
Request clarification before answering.
Use the following:
js:(%external%.length == 18) ? %external%.substr(12,6) : %external%
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.