Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

Repeat Characters in Field

Hi experts

I am Having Code as field , I am added logic to field (To repeat the char )

When , i am stored the field values into Excel then i am not getting the repeated  char .

How we can achieve this one ?

I am attaching the Excel file , Application , Excel output

Thanks

Madhu

4 Replies
avinashelite

That's the default nature in excel , try like this

Text((repeat('0',9-len([Code])))&[Code]) as

in the script level you will get the desired output 

avinashelite

Code_Desc:

LOAD 

Text((repeat('0',9-len([Code])))&[Code]) as [Code]

FROM

Book2.xlsx

(ooxml, embedded labels, table is Sheet1);

store [Code_Desc] into Code.xls(txt);

SreeniJD
Specialist
Specialist

Its exporting correctly for me in excel with the same qvw application. Are you using old version of Excel?

Sreeni

tresesco
MVP
MVP

Help- >About QlikView, and then

Untitled.png

Once this is set, try exporting then.