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: 
nagesh
Contributor
Contributor

To Get Last 12 months Visit Date

Hi All,

I have a Date Column called VisitDate, As per my requirement i have show Visitdates for last 12 months how many times customer has visited .

Any help.

 

Thanks...

 

 

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this expression

=sum({<
  VisitDate = {">$(=addmonths(max(VisitDate),-12))<$(=max(VisitDate))"}
>}NoOfVisits)

View solution in original post

1 Reply
Vegar
MVP
MVP

Try this expression

=sum({<
  VisitDate = {">$(=addmonths(max(VisitDate),-12))<$(=max(VisitDate))"}
>}NoOfVisits)