Hi
I have DAX to calculate same day sales last year which is working fine
SameDayLY:=calculate(sum(SALES[SALESLY]),dateadd(SALES[DATE],+1,day))
after 29th Feb the formula should be
SameDayLY2:=calculate(sum(SALES[SALESLY]),dateadd(SALES[DATE],+2,day))
when i combine the two formula it is not working
ie SameDayLy3:=if(SALES[DATE]>=date(2016,3,1),[SameDayLY2],[SameDayLY])
or any alternate formula
Thanks
I have DAX to calculate same day sales last year which is working fine
SameDayLY:=calculate(sum(SALES[SALESLY]),dateadd(SALES[DATE],+1,day))
after 29th Feb the formula should be
SameDayLY2:=calculate(sum(SALES[SALESLY]),dateadd(SALES[DATE],+2,day))
when i combine the two formula it is not working
ie SameDayLy3:=if(SALES[DATE]>=date(2016,3,1),[SameDayLY2],[SameDayLY])
or any alternate formula
Thanks