Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fazunus
Contributor
Contributor

New Customer Count Expression

Dear All,

I am working on creating a new customer count expression based on the  customers who were created in selected period.I  have activity the table with the contact date(activity date) and the customer table with the customer creation date.

I would like to have the table output as attached in the excel sheet.

 

 

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try something like this.

= count({< 
[creation date]= {">=$(=min([activity date]))<=$(=max([activity date]))"}
> } distinct CustomerID)

 

You might want to expand the modifier to cancel all selection in  other period dimension such as [Year] , [Month], [Week]

= count({< 
[creation date]= {">=$(=min([activity date]))<=$(=max([activity date]))"},
[Creation Year]=,
[Creation Month]=,
[Creation Week]=
>} distinct CustomerID)

View solution in original post

2 Replies
Vegar
MVP
MVP

Try something like this.

= count({< 
[creation date]= {">=$(=min([activity date]))<=$(=max([activity date]))"}
> } distinct CustomerID)

 

You might want to expand the modifier to cancel all selection in  other period dimension such as [Year] , [Month], [Week]

= count({< 
[creation date]= {">=$(=min([activity date]))<=$(=max([activity date]))"},
[Creation Year]=,
[Creation Month]=,
[Creation Week]=
>} distinct CustomerID)
fazunus
Contributor
Contributor
Author

Dear Vegar,

Thanks for the swift response.Its working perfectly fine.

Thanks again bro.
Regards