MDX week Problem
i have problem need pick records <= 52 weeks current week
how in mdx.
a
with member last52weeks as
sum ( {[date].[calendar].currentmember.lag(51): [date].[calendar].currentmember}
,[measures].[internet sales amount])
select last52weeks on 0, {[date].[calendar].[month].&[2001]&[12]} on 1 from
[adventure works]
i have shown month. use week level within hierarchy in date dimension
vinu
SQL Server > SQL Server Analysis Services
Comments
Post a Comment