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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
knightwriter
Creator III
Creator III

=Num() query

Hi All,

I am trying to divide two expressions by one another and the end result to give me xx.0. I have used the below and the answer I get is xx.xxxxxxxxxxxxx. What am I doing wrong?

=num(expression1), '##.0') / num(expression2). '##.0')

1 Solution

Accepted Solutions
MarcoWedel

=num(expression1 /expression2, '##.0')

View solution in original post

8 Replies
prajapatiamar38
Creator II
Creator II

Hi

try this:

=num((expression1), '##.0') / num((expression2), '##.0')


knightwriter
Creator III
Creator III
Author

thanks for the reply but this does not solve my query.

mohammadkhatimi
Partner - Specialist
Partner - Specialist

Hie..

Goto chart properties-->>Numbers Tab-->>Select Integer-->>in that '##.0'

Hope this will helps you..!!

Regards,

Mohammad

knightwriter
Creator III
Creator III
Author

Hi

Unfortunately I am using text box properties and your suggestion is not available.

mohammadkhatimi
Partner - Specialist
Partner - Specialist

Try this

=num(num((expression1), '##.0') / num((expression2), '##.0'),'##.0'))


or


=num(expression1 /expression2, '##.0')



Hope this will helps you..!!

Regards,

Mohammad

MarcoWedel

=num(expression1 /expression2, '##.0')

prajapatiamar38
Creator II
Creator II

can you post your expression?

sasiparupudi1
Master III
Master III

=num(expression1/expression2), '##.0')