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: 
Not applicable

Problem with formatting in KPI-object

Hello,

how shall I do to get the value 3342394 formatted in the KPI-object  in the same

way as it is in the variable vG.KPI1 ?

sshot-1.png

sshot-2.png

kindly

Håkan

17 Replies
Anonymous
Not applicable
Author

This will work:

=num(3342394,'# ##0','.',' ')

second argument in red is single quote space single quote

KPI Format.PNG

sunny_talwar

I did point that out to the OP, not sure if he has already tried this or not, but I agree that this should work

Anonymous
Not applicable
Author

Ah Yes, sorry sunny. I worked on this and got around to something else then hit post a while after without looking at the updates.

sunny_talwar

You don't have to be sorry my friend. I was just trying to reiterate to the OP that this should have worked. Not holding you against posting

Clever_Anjos
Employee
Employee

Please try this:

=replace(num(3231235,'#.##0'),'.', ' ')

Not applicable
Author

hello,

it works when you write the number direct, but when you have it in an variable it doesn´t

work.

Anonymous
Not applicable
Author

how is your variable being used?

$(vVariable) or just vVariable?

Not applicable
Author

Hello,

at last is it solved with  '=num($(vG.KPI2),'# ##0','.',' ')'

Thank you all for your help.