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: 
PapaJapa
Contributor II
Contributor II

Measure from dimension

Hi Guys!

I have problem with convert dimension to measure. 

My dimension is:

=if(
sum({<[MonthYear],Date={">=$(=MonthStart(AddMonths(Max(Date),-3)))<=$(=MonthEnd(AddMonths(Max(Date),-1)))"}>} [Sales])=0
and
sum({$<[MonthYear],[Year]={"$(=Year(Max(Date)))"},[Month]={"$(=Month(Max(Date)))"} >}[Sales])>0
and
[RegistrationDate]<monthstart(addmonths(max(Date),-3))
,1,0)

This is a flag showing a customer reactivated after 3 months of no sales.

I would like to SUM how many clients have I reactivated per month in simple table:

MonthYear || Number of reactivated clients

Please help 🙂

0 Replies