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: 
microwin88x
Creator III
Creator III

Thousands Format in Text Label

Hello!

Is there any way to show in a Text Label Object, for example the number 35275 as 35.275? (In Thousands)

What function could I use?

Thank you!!!

1 Solution

Accepted Solutions
giakoum
Partner - Master II
Partner - Master II

num(fieldname, '#,##0')

View solution in original post

7 Replies
giakoum
Partner - Master II
Partner - Master II

num(fieldname, '#,##0')

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use the num function: =num(35275,'#.##0' , ',' , '.')


talk is cheap, supply exceeds demand
Anonymous
Not applicable


why not simply divide the number by 1000...something like this

='Number in 1000s is '&35275/1000

replace 35275 with your field name.

also, you could use num function and keep an eye on what your thousand separator is. if you need a decimal for 1000 separator, you will have to SET it in the script in your main tab (ThousandSep)

its_anandrjs
Champion III
Champion III

Hi,

Use Num function.

Thanks & Regards

Not applicable

When new QVW's are started there is a section of settings that are created for you including the thousands separator. If you change them and then apply formatting you'll get your result

 

SET MoneyThousandSep =',';
SET MoneyDecimalSep ='.';
SET MoneyFormat ='$#,##0.00;($#,##0.00)';

maxgro
MVP
MVP

you can try and copy format-code parameter of num function from here

format number.png

its_anandrjs
Champion III
Champion III

Hi,

Use some thing like this

num(35275, '#.##0')

and set thousand separator like

SET ThousandSep='.';

in script editor

Thanks & Regards