dbTalk Databases Forums  

where crossjoin(Wares, Time.[2003].[December].[1]:[20]) alternative?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss where crossjoin(Wares, Time.[2003].[December].[1]:[20]) alternative? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alexander Nenashev
 
Posts: n/a

Default where crossjoin(Wares, Time.[2003].[December].[1]:[20]) alternative? - 12-23-2003 , 03:45 AM






i use MSOLAP.2 provider.
and it doesn't support multiple tuples in where statement.

what alternative could there be to achieve the same result as
where crossjoin(Wares, Time.[2003].December.[1]:Time.[2003].December.[20]) ?



Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: where crossjoin(Wares, Time.[2003].[December].[1]:[20]) alternative? - 12-23-2003 , 11:38 AM






More precisely, a tuple cannot contain >1 member from same dim, and the
WHERE clause is a tuple. The solution is something like this...

WITH MEMBER Measures.MyMeas AS
' Aggregate(Crossjoin(Set1, Set2), Measure) '
SELECT
etc...
WHERE (Measures.MyMeas)

public @ the domain below
www.tomchester.net

"Alexander Nenashev" <nenashev (AT) hotbox (DOT) ru> wrote

Quote:
i use MSOLAP.2 provider.
and it doesn't support multiple tuples in where statement.

what alternative could there be to achieve the same result as
where crossjoin(Wares, Time.[2003].December.[1]:Time.[2003].December.[20])
?





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.