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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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])