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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
suzel404
Creator
Creator

Subfield Question ?

Hi all,

How can I transform the number 1100000 to 1 100,000 ?

left(Field,len(Field)-3)&','&right(Field,3))) give me 1100,000

Thank for your help.

11 Replies
suzel404
Creator
Creator
Author


Thank you Anand.

MarcoWedel

just one more:

LOAD NumIn, Replace(Left(NumTemp, PosLastSep-1), ',', ' ')&Right(NumTemp, Len(NumTemp)-PosLastSep+1) as NumOut;

LOAD *, Index(NumTemp, ',', -1) as PosLastSep;

LOAD *, Num(NumIn, '#,##0', '.', ',') as NumTemp

Inline [

NumIn

1

2

10

20

100

200

1000

2000

10000

20000

100000

200000

1100000

2000000

10000000

20000000

100000000

200000000

1000000000

2000000000

10000000000

20000000000

100000000000

200000000000

1000000000000

2000000000000

];

QlikCommunity_Thread_118144_Pic1.JPG.jpg

regards

Marco