Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a table by customer code on which I managed to calculate the number of new customers. The objective is to get only this sum in an object without the table of details.
Min_date= aggr( min({<Date=>} Date),[Code Client])
New = if (aggr( min({<Date=>} Date),[Code Client])<AddMonths(vDateDébut,-24), 1, 0)
Thank you for your help
Or may be this
Sum(If(Aggr(Min({<Date=>} Date), [Code Client]) < AddMonths(vDateDébut,-24), 1, 0))
May be this
Sum(Aggr(If(Min({<Date=>} Date) < AddMonths(vDateDébut,-24), 1, 0), [Code Client]))
Or may be this
Sum(If(Aggr(Min({<Date=>} Date), [Code Client]) < AddMonths(vDateDébut,-24), 1, 0))
Thanks lot for your help it's work