Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX Previous Member and Filter

$
0
0
Welcome everybody. It has been a quite a time since I visited forum last time. I have a problem and hope that you can help with it.I need to introduce previous member value in MDX (e.g. previous week). I can write such a MDX Code:[quote]([Date].[Week Year].CurrentMember.PrevMember,[Measures].[New Users])[/quote]It works fine with Week Year dimension. Although, when I filter it (with e.g. current week flag that I have in my model) then it cannot get previous member as this is filtered out. Same issue with Lag. Can anybody help me with resolving that issue.With Regards

Viewing all articles
Browse latest Browse all 1341

Trending Articles