Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
beck_bakytbek
Master
Master

rounding of zero-values

Hi Folks,

i know, there are no a funny questions, but i have got a situation:

my value does look like: -0,07 , i tried to implement with the help of other functions like : Round and Ceil but i didn't achieve any solutions.

how can i round it to 0 (to zero without minus-sign)

Thanks a lot for your feedback and help

Beck

17 Replies
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Beck,

Just Multiply Your Value by -1 You will get desire output.

=Sum(Value)*-1

Thanks,

Arvind Patil

Anonymous
Not applicable

round(YourField,1) doesn't work?

beck_bakytbek
Master
Master
Author

Hi Arvind,

i tried that, but my value does look like (see attached screenshot)

as you see, if i round my values, some zeros have a minus-sign

Beckzero values.PNG

ahaahaaha
Partner - Master
Partner - Master

Hi Beck,

Try

Div(Value, 1)


where Value = -0.07

Regards,

Andrey

Anonymous
Not applicable

try num() around your expression

arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Beck,

Could you please share Sample qvw?

Thanks,

Arvind Patil

beck_bakytbek
Master
Master
Author

Hi Andrei and Robin

thanks a lot for your feedback,

all does work great, but i have any problem with my formula, if i try to implement the coloring, any zero are red, and some are black

zero values 2.PNG

Thanks a lot

Beck

Anonymous
Not applicable

I think I need some sample data...

beck_bakytbek
Master
Master
Author

Hi Robin,

i create the example data and will show

Beck

p.s: i need a bit a time for example data because (wegen des datenschutzes)  😃