Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscools
Creator II
Creator II

can i show only negative values of an expression in a pivot table?

Hello,

i have a pivot table with country and client as dimensions.

as expressions i have:

     -sum of creditlimit

     -sum of outstanding invoices

     -sum of creditlimit minus sum of outstanding invoices = available amount to send out

     -sum of amount open orders to deliver

     -sum of amount open orders to deliver minus available amount to send out

if the last expression gives me a negative number, sales and finance department has to see what they will do about it.

How can i limit the table to show me only those clients with a negative number on the last expression?

the others i don't need to see.

thanx!

chris                        

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

=if(your exp < 0, your exp)

ex:

if(sum(sales) < 0 , sum(Sales))

Edit:

Apply this condition to all the expression above too

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

HI

Try like this

=if(your exp < 0, your exp)

ex:

if(sum(sales) < 0 , sum(Sales))

Edit:

Apply this condition to all the expression above too

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.