Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
danialier
Creator III
Creator III

How to fix to one decimal

Hello,

I have the following formula which gives me the result but with a bunch of decimals. How can I fix this to just showing one decimal ?

= sum({<[Product Line]={'Hardware'}>}Units)/sum({<[Product Line]={'Supplies'}>}Units)

thanks,dani

1 Solution

Accepted Solutions
Nicole-Smith

num(sum({<[Product Line]={'Hardware'}>}Units)/sum({<[Product Line]={'Supplies'}>}Units),'#,##0.0')

View solution in original post

6 Replies
Nicole-Smith

num(sum({<[Product Line]={'Hardware'}>}Units)/sum({<[Product Line]={'Supplies'}>}Units),'#,##0.0')

Not applicable

Hi,

fromat it with num():

num(sum({<[Product Line]={'Hardware'}>}Units)/sum({<[Product Line]={'Supplies'}>}Units) , '#.##0,0')


RR

MK_QSL
MVP
MVP

NUM(YourExpression, '#,##0.0')

Not applicable

Hi Nicole,

fast as lightning ;-))

Regards

Roland

Not applicable

Try this

under Number in the format pattern type #,##0.0


danialier
Creator III
Creator III
Author

excellent ! thanks