Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Stuck with the task please do needful on Appending

struck with the work need to get desired o/p as follows :-

written below code '0'&[Rep Office] as [Rep Office],
     '0'&
Currency as Currency ,
     '0'&
[Manager]as [Manager],

but it is not exactly getting desired o/p:

Suppose Office Dimension should have '011' for all columns it should check if 11<--011 like that 011<-011 no Zero to be append

Input:

OfficeCurrencyManagerMajor
1102101
0112101
0112011
1102011
1102011

Desired o/p:

OfficeCurrencyManagerMajor
011020101
011020101
011020101
011020101
1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Like This.

LOAD num(Office,'000') as Office,

  rowno() as Key,

  num(Currency,'00') as Currency,

  num(Manager,'00') as Manager,

   num(Major,'00') as Major

FROM

[http://community.qlik.com/thread/132816]

(html, codepage is 1256, embedded labels, table is @1);

Regards

ASHFAQ

View solution in original post

3 Replies
ashfaq_haseeb
Champion III
Champion III

Like This.

LOAD num(Office,'000') as Office,

  rowno() as Key,

  num(Currency,'00') as Currency,

  num(Manager,'00') as Manager,

   num(Major,'00') as Major

FROM

[http://community.qlik.com/thread/132816]

(html, codepage is 1256, embedded labels, table is @1);

Regards

ASHFAQ

Not applicable
Author

Thanks for your help it works for me .

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you close this thread by marking it as answer.

Regards

ASHFAQ