Qlik Community

Qlik Sense Data Connectivity

Discussion board where members can learn more about Qlik Sense Data Connectivity.

Not applicable

Add calculate field

I'm trying to add a calculate field to a new sheet I'm importing. its a simple If statement like this:

if(len([Inventory Organization])=1,'00'&[Inventory Organization])

Basically if the organization has only 1 character in it, I want to add two leading zeros. I've used this many times in excel with no problem. Qlik keeps giving me an error on the = sign saying 'Unrecognized sybol:='.

Any help would be much appreciated.

Tags (1)
3 Replies

Re: Add calculate field

Where exactly are you using this? In the script or front end?

Not applicable

Re: Add calculate field

Front end. I was able to achieve it in the load script... but trying to keep to just the GUI.

Here's screenshot if that's helpful.

Capture.JPG

Not applicable

Re: Add calculate field

Looks like it might have been answered here:

Re: Qlik Sense - Data Load - Add Calculated Field

Community Browser