Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Round up

How can I ROUND UP or ROUND DOWN?

I neet to round up the follow expression:
=SUM([Labor Rate])/COUNT([Labor Rate])

Thanks for your attention

1 Solution

Accepted Solutions
IAMDV
Luminary Alumni
Luminary Alumni

Please use this...

=Round(SUM([Labor Rate])/COUNT([Labor Rate]), 0.01)

OR

=Ceil(SUM([Labor Rate])/COUNT([Labor Rate]), 0.01)

Use FLOOR for...

Rounding of x downwards to the nearest multiple of base with an
offset of offset. The result is a number.

=floor( 2.4 ) returns 2

Rounding of x upwards to the nearest multiple of base with an offset
of offset. The result is a number.

=ceil( 3.88 , 0.1 ) returns 3.9

Please mark the post answered, if this helps!

View solution in original post

5 Replies
Not applicable
Author

In QlikView: Press F1 on your Keyboard and search for ROUND.

there it is very well described

- QlikJam

IAMDV
Luminary Alumni
Luminary Alumni

Please use this...

=Round(SUM([Labor Rate])/COUNT([Labor Rate]), 0.01)

OR

=Ceil(SUM([Labor Rate])/COUNT([Labor Rate]), 0.01)

Use FLOOR for...

Rounding of x downwards to the nearest multiple of base with an
offset of offset. The result is a number.

=floor( 2.4 ) returns 2

Rounding of x upwards to the nearest multiple of base with an offset
of offset. The result is a number.

=ceil( 3.88 , 0.1 ) returns 3.9

Please mark the post answered, if this helps!

Not applicable
Author

Thanks DV,

It's completely perfect.

Not applicable
Author

Hi DV,

I've lost the link to your Qlikview blog site, with all the nice tutorials.

There where some intrestring tutorials that I would like to see.

Could you please send your link?

Thanks!

Carter

IAMDV
Luminary Alumni
Luminary Alumni

Hi,

Here you go... I guess it's a bit too late.

www.QlikShare.com

Cheers,

DV