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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

Commas on numeric

Hi all,

I m using the expression to get the legend inside the stack bar.

=Dual([Dimension 1]&'-'&Sum(Value),Sum(Value))

but i want commas in number ti show it, when i use number tab and selecting the numeric format to get commas i m losing the dimension 1 on the stack bar

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Add the num() function to your text representation:

=Dual([Dimension 1]&'-'& Num(Sum(Value),'#,##0.0','.',','),Sum(Value))


Adapt the format code as needed.

View solution in original post

1 Reply
swuehl
MVP
MVP

Add the num() function to your text representation:

=Dual([Dimension 1]&'-'& Num(Sum(Value),'#,##0.0','.',','),Sum(Value))


Adapt the format code as needed.