Hello got the following expression that is supposed to find by month the number of lost customers
it is counting the distinct customer_key where customer_key is excluded in 12-months-period-back but has invoices in dates prior to the 12-months-back-period with respect to each value in the dimension
it only works if I define the above variables with = sign to return one specific value , however I need that the 12-monts-back period is calculated with respect to each month year of the dimension