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: 
Not applicable

Only negative expression in pivot table

Hi, my English is not very good but I hope you can understand and help me.

I have a pivot table with multiple expressions that sum various data, one of the expressions acts as a total of the others expressions. What I do is only show rows

where this total is negative, Example:

HarvestSpeciesExpression 1Expresion 2Expression 3Expression (Total)
09/10SOY1005-9015
09/10CORN100-50-90-40
10/11WHEAT50-20-50-20
10/11CORN80-30-1040
11/12SOY80-30-500

What I need is that the table is as follows:

HarvestSpeciesExpression 1Expression 2Expression 3Expression (Total)
09/10CORN100-50-90-40
10/11WHEAT50-20-50-20

Any suggestions?

Thank you very much in advance. Greetings.

Luciano.-

1 Solution

Accepted Solutions
Not applicable
Author

Hi Luciana,

               Please find attached application as per your requirement.

Hope this is the one you asked.

Regards,

Antony.

View solution in original post

5 Replies
Not applicable
Author

Hi Luci,

           I did not understand  what you asked above, Can you explain me clearly.

Regards,

Antony.

Not applicable
Author

Hi Luciana,

               Please find attached application as per your requirement.

Hope this is the one you asked.

Regards,

Antony.

rohit214
Creator III
Creator III

hi luci

use this expression in your pivot table

if(Expression (Total)<0,Expression (Total),0)

and in Proreties>> presentation>>Spress zero values

may it helps you

thanks

rohit

SunilChauhan
Champion II
Champion II

if(Expression (Total)<0,Expression (Total),0)

and presentation-Spress zero values

Sunil Chauhan
Not applicable
Author

Pardon for my bad English, that's exactly what I was looking for.

Thank you very much everyone.

Greetings from Argentina.

Luciano.-