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: 
sundarakumar
Specialist II
Specialist II

Hide negative values in bar chart

Hi all,

Can anyone please tell me how to hide only the negative values in a bar chart?

I dont want them to appear in the chart itself. Where should i give the condition?

-Sundar

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi Sundar,

You may look into your expression. Something like If(Sum([Field])<0,Null(),Sum([Field]))

Can you attached your app here?

Regards,

Sokkorn

View solution in original post

3 Replies
Sokkorn
Master
Master

Hi Sundar,

You may look into your expression. Something like If(Sum([Field])<0,Null(),Sum([Field]))

Can you attached your app here?

Regards,

Sokkorn

VishalWaghole
Specialist II
Specialist II

Hi Sundarakumar,

Try this expression in ur chart,

=if(sum(Field)>0,sum(Field))

- Regards,

Vishal Waghole

sushil353
Master II
Master II

Hi,

You can remove negative values using dimention limit as well.

In Dimension limits> check option "Show only values that are" > Greater Than , 0 , exact amout

Uncheck "Show Others" from options.

HTH

Sushil