Apologies for confusing title, I'm trying to calculate growth over period (yearly, monthly, weekly), and looking for way to calculate something like below but not depending on time hierarchy (pls note that [Measures].[Cost]) semi additive, not summable over the time):
[Prev Period Monthly InventoryCost Measure]=([DateTime].Month.PrevMember ,[Measures].[Cost])
[Current Period Monthly InventoryCost Measure]=([DateTime].Month.CurrentMember ,[Measures].[Cost])
As you see my current formula has Month, but I want this to be period/hierarchy-agnostic (cuz I have several DateTime Hierarchies), how can I do this?
THANK YOU!