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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Number Formatting in QlikSense

Hi Folks,

How to display numbers in Qlik where the output would be like this:

InputOutput
123.4567123.4567
12.3412.34
12.312.3
1212

That is, I don't want trailing zeros after the least significant digit of the number.

Can someone please help me with the formatting required to achieve this.

Thanks in advance!

- Sukanya

3 Replies
isingh30
Specialist
Specialist

Try this  - #,#0 in format

Anonymous
Not applicable
Author

You could fudge it by treating it as text and using string functions. maybe something like this :

Subfield([Input],'.',1)&If(Index([Input],'.'),'.'

&

Subfield([Input],'.',2))

Anonymous
Not applicable
Author

Actually I have just had a fiddle and simply leaving the Number Formatting as Auto and using this seems to work.

num([Input])