Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show only new customers

I have a table with customers revenue with expresions that calculate the revenue per year.

  

Customer201520142013
A110100100
B12000
C 1309080
D90100100
E80100100
F7000
G12000
H105100100
I105100100
J105100100

I now wan to show only the new customers, so the customers that have no revenue in 2014 and 2013.

  

Customer201520142013
B12000
F7000
G12000

Can anyone assist?

3 Replies
sunny_talwar

Do you have 2014 and 2013 as a separate column in your database or is this just how your data is laid out in a pivot table with year dimension pivoted?

Not applicable
Author

The data is laid out in a pivot table with the year dimension pivoted.

The base table is a table witl all sales records that contains an invoice date.

sunny_talwar

Try this:

=Only({<Customer = e({<Customer = {"=Sum({<Year = {2014, 2013}>}Data) > 0"}>})>}Data)