Dear Experts,
I have facing with a issue in generating a report that showing up the Amount MTD .
Assuming i have 2 tables including:
Fact( Amount,date...),
TimeDim( Date, workingday,month,Quater,year, ...)
The workingday field in TimeDim is only Y or N, then now i want to calculate the MTD for date that has Workingday=Y.
For example, In June 2016, there are 5,12,19,26 have workingday =N, so now i want TotalMTD of 6thJune = TotalMTD of 4thJune (because day 5 is not a workingday) and TotalMTD of 7thJune = TotalMTD of 4thJune + Amount of 6thJune!!!..
I am so sorry for bad explaination, i hope you can understand i mean totally!
Thank in advanced.
Best regards,
Michael J.