Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Range of Periods in OLAP Cube

Status
Not open for further replies.

fishpig

Programmer
Mar 8, 2003
1
GB
I have a periods dimension in my cube but the users would like to choose a range of data between two user defined periods. Would I need to set up two period dimensions one for start date and one for end date, or am I coming at this from the wrong angle??
 
Does the periods dimension have a day date as the lowest level in the dimension? If so, you use these dates in your query something like this:

SET DateSet As '[Periods].[01/01/2005]:[Periods].[01/31/2005]'

Then aggregate the DateSet to a MEMBER and stick it in your WHERE clause. Or use the DateSet in your columns or rows.

hth,

Justin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top