Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
klaus_feldam
Creator II
Creator II

Conditional Expression Calculation

Need some Qlik guru help for what should be a fairly simple issue.

Basically, I am looking at performing calculations on a set of records, but ONLY if the record count is greater than 1.

I don't want the calculation to include the records where I only have one record.

Example:

Core table contents:

IDStartDate
12February 17, 2014
12March 18, 2014
13March 16, 2014
14May 23, 2014

ID is not a unique record, but the combination of ID and Start Date is unique

Count (ID&StartDate):

IDStartDateRecord Count
12February 17, 20142
13March 18, 20141
14March 16, 20141

Now, in my table, I only want to show the Min/Max Start Dates if my record count is > 1.

Simple, yes!? However, I need to get my Qlik money back. In a regular table, I can use the Dimension Limits and restrict the values to only show greater than 1, but really need to see this in a pivot table. I have been looking at it all morning, and can't find the best way to do this in a pivot table.

Looking forward to some great ideas.

Labels (1)
1 Reply
JonnyPoole
Former Employee
Former Employee

How is this ?

i used a conditional expression to check if your cell will have > 1 record. If not, it evaluates to null and the chart properties / presentation tab suppresses these records as null or missing.

if(count([Transaction ID])>1,count([Transaction ID]))