dbTalk Databases Forums  

Problem in the MDX Builder Parser

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


Discuss Problem in the MDX Builder Parser in the microsoft.public.sqlserver.olap forum.



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

Default Problem in the MDX Builder Parser - 07-13-2004 , 09:23 AM






I'm using a Calculated Cell formula with the following Calculation
Value:

Sum({[Period].CurrentMember} as PeriodSet,
Sum(Filter({([Period].[Months].Members.Item(0):[Período].CurrentMember)},
([Schedule].[Amount of Payments])>
(Rank(PeriodSet.Item(0),{[Period].[Months].Members}) -
Rank([Period].CurrentMember,{[Period].[Months].Members}))
),
[Schedule].[Monthly Cost]))

wich is more described in the following article in this group:

http://groups.google.com/groups?hl=p...com%26rnum%3D2

it works fine but when I write it through the Analysis Manager, in the
Cube Editor, the MDX Builder can't parse it correctly, I get the
message:
"Fomula error – syntax error – token is not valid:"
({[Period].CurrentMember} as ^PeriodSet^, … ", meaning that the MDX
Builder can't understand the alias set.

The only way that I could create the formula was using an ADOMD cube
command.

I'm using AS SP3A with hotfix 820. Does anybody know how I can fix it
and to use the MDX Builder?

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.