Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I created a Table box with various columns. One of the columns 'Product' has filed values = 'FXFORW' ,'FXSPOT',etc . I need to export it to excel and I need to rename all these values in 'Product' column as 'Forward','Spot' ,etc respectively in QlikView before export.
When loading these values in the script, I would create another field called [Product Description]. Then you could be like:
Load [Product],
….,
if ([Product] = 'FXFORW', 'Forward',
if ([Product] = 'FXSPOT', 'Spot', …… )) as [Product Description],
….
From ....
When loading these values in the script, I would create another field called [Product Description]. Then you could be like:
Load [Product],
….,
if ([Product] = 'FXFORW', 'Forward',
if ([Product] = 'FXSPOT', 'Spot', …… )) as [Product Description],
….
From ....
You can use a straight table and simply add a placeholder expression like '0' or '1' and ignore that column. Straight tables should let you label your field names directly.
Alternatively you can alias each of the fields in the script but this will add unnecessary data.