Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

DSO question - AS2000

 
   Database Help (Home) -> OLAP RSS
Next:  Conforming / formatting pasted info into a field  
Author Message
Jesse O

External


Since: Jan 25, 2008
Posts: 23



(Msg. 1) Posted: Mon Dec 29, 2008 11:08 am
Post subject: DSO question - AS2000
Archived from groups: microsoft>public>sqlserver>olap (more info?)

I have some code where I'd like to change the slice on a level to the
upcoming year.

The code executes successfully, however it doesn't actually update it on the
server.


Any ideas?



For l = oDimension.Levels.Count To 1 Step -1
Set oDimLevel = oDimension.Levels(l)

If oDimLevel.SliceValue = "2008" Then
oDimLevel.SliceValue = "2009"
End If

Next

 >> Stay informed about: DSO question - AS2000 
Back to top
Login to vote
fimiani

External


Since: May 23, 2008
Posts: 37



(Msg. 2) Posted: Mon Dec 29, 2008 3:27 pm
Post subject: Re: DSO question - AS2000 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jesse,

You may need to call the dimension's Update method, which is one level
up from the dimensional Level object. This should make the setting
"stick". Also, from your code example, you may want to just do a For
Each loop for something a bit cleaner...

Good luck
-exologic


::: Pain with Essbase? Use CubePort, The BI Porting App :::
::: Go from Essbase to Microsoft Analysis Services :::
::: web: exologic.com/products.htm :::

 >> Stay informed about: DSO question - AS2000 
Back to top
Login to vote
Jesse O

External


Since: Jan 25, 2008
Posts: 23



(Msg. 3) Posted: Tue Dec 30, 2008 12:29 am
Post subject: Re: DSO question - AS2000 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ahhh, update the dimension. I was trying to update the level. doh! Been a
few years since I've worked on AS2000...

thanks!

wrote in message

> Jesse,
>
> You may need to call the dimension's Update method, which is one level
> up from the dimensional Level object. This should make the setting
> "stick". Also, from your code example, you may want to just do a For
> Each loop for something a bit cleaner...
>
> Good luck
> -exologic
>
>
> ::: Pain with Essbase? Use CubePort, The BI Porting App :::
> ::: Go from Essbase to Microsoft Analysis Services :::
> ::: web: exologic.com/products.htm :::
>
>
 >> Stay informed about: DSO question - AS2000 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
QuerLog AS2000 - Hi together, we have our own little ETL process to collect the Cube Usage Data - all works fine, but we have one big problem - Virtual Cubes don't exist in the Querylog... is this normal? what can we do at that point? any ideas? Many greetz from..

Writeback to OLAP Cube on AS2000 from Excel 2003 - Hi, I am struggling with finding relevant information about writeback to OLAP Cube from Excel. I've write-enabled the cube, which created the SQL Server 2000 table named "Write_XXX". When I create a pivot in Excel and start changing dimensio...

Question for experts.. - I have a table that lists the following... Fact Table: ProblemID Date.. The ProblemID is unique... However I need to join this table to a factor table that may have some ProblemID's listed twice... Also to this main "Fact Table" I need to j...

Newbie Question - Hi everyone, I need to query only two dimensions of my cube to show their relationship and I'm not interested in any measure value (or could be a Null or 0 value). How can I get this with an MDX query? Thanks. Bye

MDX Question - I have a question regarding creating subtotals in MDX. Say we have a cube ("rent") with the following dimensions: Year Month Version Region Office Rent Classification Rent Measure And I have the following query: SELECT NON EMPTY { {[rent..
   Database Help (Home) -> OLAP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]