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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with rounding

Hi,

I have a small / requirement in rounding.

I don't want to show records ending in .99. Can someone please share a sample expression.

Thank you in advance.

Regards,

Sachin

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this expression instead: sum({<Item={"=round(frac(sum(Cost)),0.01)<>0.99"} >}Cost)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this expression instead: sum({<Item={"=round(frac(sum(Cost)),0.01)<>0.99"} >}Cost)


talk is cheap, supply exceeds demand
Not applicable
Author

Thank u Sir. It worked.

sunny_talwar

You might also be able to use If statement:

If(Round(Frac(sum(Cost)), 0.01) <> 0.99, Sum(Cost))


Capture.PNG