The expression below, using Subset(), works, but I wondered if there was a
more elegant solution, perhaps using Filter().
select
{[Measures].[Count]} on columns,
Subset([Time].[Day].AllMembers, Rank((<date1>),
[Time].[Day].AllMembers)-1,
Rank((<date2>), [Time].[Day].AllMembers) - Rank((<date1>),
[Time].[Day].AllMembers)) on rows
from [MyCube]
Thanks,
Les McPhee
Is the ":" operator not working for you? Try {[mbr1]:[mbr2]}.
You could also make those specific dates dynamic, or static.
-exologic
Les McPhee
It's more of a documentation issue to me, and a glaring lack of
Intellisense that should be inbued in the BIDS interface, also missing
in 2008.