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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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
Partner - Champion III
Partner - Champion III

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: