You're question could mean one of two things. Here's how to query a range of
dates:
SELECT
{ Time.[2002] : Time.[2004] } on axis(0),
etc.
Or, to aggregate data for a range of dates:
WITH MEMBER Measures.X AS
' SUM({Time.[2002] : Time.[2004]}, MyMeasure) '
SELECT
etc.
WHERE (Measures.X)
public @ the domain below
www.tomchester.net
"PCK" <anonymous (AT) discussions (DOT) microsoft.com> wrote
Quote:
Could someone provide me with an MDX example of how to query a customized
date range. My long term goal is to be able to select a subset of data that
|
is contained within a certain period of time.
Quote:
For example in FoodMart how would I go about getting all sales for a
customer 'XYZ' from 3/6 through 3/17.
Thanks for the help.
Patrick |