Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I used this in the script:-
Left Join(Fact) LOAD CustomerProductMatKey, VBRK.FKDAT,, if(CustomerProductMatKey = Previous(CustomerProductMatKey)AND (VBRK.FKDAT <>Previous([VBRK.FKDAT])), Previous([VBRK.FKDAT])) as PrevBillDate RESIDENT Fact ORDER BY CustomerProductMatKey, VBRK.FKDAT;
Previous billing date works fine but sales frequency multiplies
Any help please