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: 
jduluc12
Creator
Creator

Pivot Table question

Hi,

My data set looks like this

CustomerSales Date
Cust102/12/2017
Cust103/12/2017
Cust203/14/2017
Cust202/15/2017
Cust305/12/2017
Cust306/12/2017

What i need to find out is

the first sales date of each customer and and then find the count of customer in each month to which their first sales date belongs to.

for example:

The first sales date of Cust1 and Cust2 are 02/12 and 02/15 respectively.

So the chart should say something like this.

Similarly the first sales date of Cust3 is 05/12 so May will have count of 1

MonthNumber of customer
Feb2
May 1

There is also a master calendar on Sales date available in the data model.

Thanks,

Jean

1 Solution

Accepted Solutions
2 Replies
sunny_talwar

May be this

Dimension

Aggr(Month(Min([Sales Date])), Customer)

Expression

Count(DISTINCT Customer)

sunny_talwar

Check attached

Capture.PNG