dbTalk Databases Forums  

Re: Calculation error

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


Discuss Re: Calculation error in the microsoft.public.sqlserver.olap forum.



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

Default Re: Calculation error - 11-03-2006 , 04:14 PM









Bjorn:

You may be able to edit the xml script directly, after making a copy
for safety. It'll be something like this:

C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Analysis
Services Project1.0.db\KF625W.251.cub\MdxScript.405.scr.xml

I just had this problem where I put a start comment "/*" without an end
comment "*/". I'm having it again but I can't even get it working with
just "CALCULATE".

Anyone know how to recover from this state?

- David


Reply With Quote
  #2  
Old   
davidc
 
Posts: n/a

Default Re: Calculation error - 11-06-2006 , 03:52 PM






I found the solution for this state: not only is the MDX script in its
own XML file, it is in the XML code for the cube. Right-click on the
cube in BIDS, select View Code, you'll see the code for the entire
cube. You can edit the MDX script there. After processing, it will
overwrite the independent script file.

- David


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.