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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

Remove -0 Value from data

Hi Team,

I have two below tables and when I am doing A-B, it is giving the below result:

ABA-B
8.748.76-0.02
8.769.74-0.98

But When I am changing Number format for (A-B) as integer it is giving below result:

ABA-B
8.748.76-0
8.769.74-1

So here it is giving value as -0. I want to remove this negative sign from zero(0) as there is no mean of -0.

Can anybody help me?

1 Solution

Accepted Solutions
sunny_talwar

Try this

Num(Round(A-B), '#')

View solution in original post

4 Replies
sunny_talwar

Try this

Num(Round(A-B), '#')

vipingarg23
Creator
Creator
Author

Very quick and brilliant answer. It is working fine. Thanks a ton...

sunny_talwar

And yet you did not mark my response as correct ...

Anyways, I am glad it worked...

vipingarg23
Creator
Creator
Author

I have marked as correct...Thanks