Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Number Format

I've the following number: 10,01234

And I want to represent them into this format: 10.012,34

I already try all the formats in number tab but nothing returns what I want.

What comes closest to what I want is :##.##,###

Anyone have any idea?

Thanks

1 Solution

Accepted Solutions
t_chetirbok
Creator III
Creator III

Hi, cause chart display sum, you should use:

so your result will be like this:

View solution in original post

8 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Like this?

=num(YourField * 1000.0, '#.##0,00', ',', '.')

Not applicable
Author

Thanks Peter, but it doesn't returns the format that I want

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Where is your "number" stored? Is it a text string?

It does work for me though. This script

RawData:

LOAD 10.01234 AS Number AUTOGENERATE 1; // Raw Binary number, default format

Data:

NOCONCATENATE

LOAD *, Num(NumberFormat1 * 1000.0, '#.##0,00', ',', '.') AS NumberFormat2;

LOAD *, Num(Number, '#0,00000', ',') AS NumberFormat1

RESIDENT RawData;

DROP Table RawData;

produces this in a table box (no number tweaking)

Format Numbers thread 205115.jpg

See attachment.

Best,

Peter

Not applicable
Author

If I multiplicate by 1000 I get the number correct in my chart, however the value of my pop up it isn't correct...

Not applicable
Author

Is a bar chart, its a result of a calculation

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Please post an example document with this phenomenon, or we will have to guess what exactly you are doing and that may take a while. Thanks

Peter

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

=Num(Replace(FieldName, ',', '')/100, '#.##0,00', ',', '.')

Regards,

jagan.

t_chetirbok
Creator III
Creator III

Hi, cause chart display sum, you should use:

so your result will be like this: