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.

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

You can try this also

=Left(left(1100000,len(1100000)-3)&','&right(1100000,3),1)&'  '&Right(left(1100000,len(1100000)-3)&','&right(1100000,3),7)

View solution in original post

11 Replies
Clever_Anjos
Employee
Employee

=replace(replace(num(1100000 ,'#,##0.00'),',',' '),'.',',')

suzel404
Creator
Creator
Author


Hi Clever,

Thank for your response but your expression gives 1100000 000,00. I want to obtain 1 100,000.

Not applicable

Try this expression

=left(field,1)&' '&mid(field,2,3)&','&right(field,3)

hope it will help

anbu1984
Master III
Master III

Round(1100000/1000000) & ' ' & Num(Mod(1100000,1000000),'#,##0')

its_anandrjs
Champion III
Champion III

You can try this also

=Left(left(1100000,len(1100000)-3)&','&right(1100000,3),1)&'  '&Right(left(1100000,len(1100000)-3)&','&right(1100000,3),7)

suzel404
Creator
Creator
Author

Thank you at all.In fact I have a list with following values

1000

2000

10000

20000

100000

200000

1100000
and I want a dynamic format like :

1,000

2,000

10,000

20,000

100,000

200,000

1 100,000

Thank you.

anbu1984
Master III
Master III

Load If(Round(Num/1000000)> 0, Round(Num/1000000) & ' ','') & Num(Mod(Num,1000000),'#,##0') Inline [

Num

1000

2000

10000

20000

100000

200000

1100000 ];

Clever_Anjos
Employee
Employee

What are your configurations?

SET ThousandSep='.';

SET DecimalSep=',';

Clever_Anjos
Employee
Employee

PFA