Click here to Skip to main content
15,880,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I am creating WTD Calculation into SSAS but it is mot working as my expectations,I want to Week to Week data from this measure for example when I select Sunday it will return 7 days data from Sunday to Saturday.
When I select Monday it will return Monday to Sunday Data.

What I have tried:

I am Creating these WTD measures

1.Aggregate(PeriodsToDate([Time].[Time].[Week],
[Time].[Time].CurrentMember),
[Measures].[Actuals_Sales])


2.Aggregate(WTD( [Time].[Time].CurrentMember),[Measures].[Actuals_Sales])

Please help me if there is any suggestions.
Posted
Updated 21-Aug-17 11:35am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900