I have two expressions to calculate MTD sales:
for example these values will be selected by the user : Year=2014, Month=Jun, Day=22
CreatedDate is my link date field between Sales fact table and my master calendar.
while Exp2 gives the expected result, Exp1 only bring the values of the 22nd of June whereas it should cover all the days of the month because of the "<=" sign in the expression.
could anyone please points out to me what I am doing wrong in Exp1?
Hi Ali ,
According to you CreatedDate field link between MasterCal & Sales So,in this case if CreateDate format is not matching with your selection it will reflect all values instead of selection.
Just check your format whether is is in proper date format or not.