dbTalk Databases Forums  

Whats is wrong with this query?

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


Discuss Whats is wrong with this query? in the microsoft.public.sqlserver.olap forum.



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

Default Whats is wrong with this query? - 02-01-2006 , 12:48 PM






WITH
MEMBER [Time].[Month].[CMonth] AS
TAIL(NONEMPTYCROSSJOIN([Time].[Month].Members), 1)

MEMBER [Measures].[Output] AS ([Time].[Month].[CMonth],
[Measures].[Average Days Receivable])

MEMBER [Measures].[Output Diff] AS ([Time].[Month].[CMonth],
[Measures].[Average Days Receivable]) -
([Time].[month].[CMonth].PREVMEMBER, [Measures].[Average Days
Receivable])

SELECT ({[Measures].[Average Days Receivable], [Measures].[Output],
[Measures].[Output Diff]}) ON 0,
([NFE Broker Type].[NFE Broker Type].MEMBERS) ON 1 FROM [AR]

I get sound results for the first column [Measures].[Average Days
Receivable] but the other two they do not I get #Error

any ideas ?

Thanks

Denver


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.