I require to calculate the Last day of previous week and last of day current week in Multidimensional Cube.I need to have in Cube calculation
For example: I have Time dimension with Hierarchies as below
Year-Quarter-month-date
Year-Quarter-month
Year-Quarter-week
Year-Week.
I have Time Week dimension- which has hierarchy Time-week and my View show below data
Week-2018-W18
WeekNumberOfYear-2018-W18
Year-18
YearNo-2018
StartDate-2018-04-30 00:00:00.000
EndDate-2018-05-06 23:59:59.997
CurrentWeek-1
Current Week is set flag set. As per above data.
If I run the report today(03/05/2018)-Thursday.
previous week last working day should show- 2018-04-27- Friday
Current week last day should be-2018-05-04-Friday.
Please let me know how to calculate the dates via cube calculation, I am able to find the previous year with Parallel Period function.