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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
guyvermeiren
Creator
Creator

Format number in Text in Chart

Hello,

I would like to fomat my numbers in my calculated Text in Chart.

I tried this to have a thousand separator but without success

='Target='&Num#(vTargetOpptyNL,'#.#')

Any idea how to ?

Thanks,

Guy

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

num# will convert a text into a number. You need num() that will make the opposite:

try this:

='Target='&Num(vTargetOpptyNL,'#,###', '.', ',')

That's if your thousand sep. is , and your decimal sep is .

If  vTargetOpptyNL is an expression, you may need to evaluate it:

='Target='&Num($(vTargetOpptyNL),'#,###', '.', ',')

or

='Target='&Num($(=vTargetOpptyNL),'#,###', '.', ',')

Hope it helps,

Erich

View solution in original post

1 Reply
erichshiino
Partner - Master
Partner - Master

num# will convert a text into a number. You need num() that will make the opposite:

try this:

='Target='&Num(vTargetOpptyNL,'#,###', '.', ',')

That's if your thousand sep. is , and your decimal sep is .

If  vTargetOpptyNL is an expression, you may need to evaluate it:

='Target='&Num($(vTargetOpptyNL),'#,###', '.', ',')

or

='Target='&Num($(=vTargetOpptyNL),'#,###', '.', ',')

Hope it helps,

Erich