Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

alwinsch
Contributor

Cyclic Group - don't show Zero values

Hi,

I have a table wit one dimension

a cyclic group and a couple expressions.

But i want to show only values with the expression > 0.

For example.

Cyclic group : Country, customer_name.

expression : sum_of_Amount.

When i use Country, i want to see only countries with sum_of_amount >0

if i switch to Customer_name, i want to see only customers with sum_of_amount > 0

how to solve this, because now i get everything also the 0 Rows.

Kind Regards,

Alwin

Tags (2)
1 Solution

Accepted Solutions
MVP
MVP

Re: Cyclic Group - don't show Zero values

Hi

If you use Sum(AMOUNT) in the first expression and If(Column(1) <> 0, Sum(PRICE), 0) in the second expression and turn on suppress zeroes, then the row will not display if Sum(AMOUNT) is zero.

Is that what you had in mind?

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
3 Replies
anantmaxx
Valued Contributor

Re: Cyclic Group - don't show Zero values

IN YOUR EXPRESSION

ADD IF ( SUM(AMOUNT)>0,SUM(AMOUNT))

AND CHANGE YOUR CYCLIC GROUP IT WILL SHOW ONLY THOSE COUNTRY OR CUSTOMERS WHEN

> 0

REGARDS,

ANANT

alwinsch
Contributor

Re: Cyclic Group - don't show Zero values

But i have another expression where i also do a Sum of price.

So if both are 0 i don't want to show the row, otherwise i have to show all values.

do i have to add in the other expression also

IF(SUM(PRICE) > 0, sum(Price))???

thanks.

A.

MVP
MVP

Re: Cyclic Group - don't show Zero values

Hi

If you use Sum(AMOUNT) in the first expression and If(Column(1) <> 0, Sum(PRICE), 0) in the second expression and turn on suppress zeroes, then the row will not display if Sum(AMOUNT) is zero.

Is that what you had in mind?

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein