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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text in Chart

I added some text to a gauge chart.: = ('Margin: ' &'$'&Sum(Margin)) .

The result of this line is: Margin: $363301,02

Now I'm trying to change the notation to only: Margin: $363.301

I know I can use the NUM function for this, but I dint succeed.
Appreciate the help.

Regards

1 Solution

Accepted Solutions
Not applicable
Author

Thanks for the tips.

I worked it out the following way to get a satisfying result:

=

'Margin: $' & NUM(Sum(Margin), '#.##0')







View solution in original post

3 Replies
Not applicable
Author

it should work with num. Show us the code that how you implemented Num function.

It is a bad practice, but you can divide it by 1000 and use round function to deal with decimal.

Ryan

Not applicable
Author

Did you add num like this ? = 'Margin: $' & Sum(num(Margin)) It should work.

Not applicable
Author

Thanks for the tips.

I worked it out the following way to get a satisfying result:

=

'Margin: $' & NUM(Sum(Margin), '#.##0')