dbTalk Databases Forums  

How do I writeback to a virtual cube.

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


Discuss How do I writeback to a virtual cube. in the microsoft.public.sqlserver.olap forum.



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

Default How do I writeback to a virtual cube. - 12-04-2003 , 01:37 AM






I have two cubes.
A having dimensions d1,d2,d3,d4 and a measure a1.. the
cube is write-enabled.
B having dimensions d1,d2,d3,d5 and a measure b1.. also
write-enabled.
I make a virtual cube V and include dimensions
d1,d2,d3,d4,d5 and measure a1,b1
but when i try to writeback measure a1 using 'update V set
d1,d2,d3,d4,a1 = x' it throws an error saying
"unable to open cellset
unable update N/A cell in the virtual cube"
What am i doin wrong??
I hope the problem example makes sense.. help required.
Also the query works well with update A instead of
V..which is absolutely the way it shud be.


Reply With Quote
  #2  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: How do I writeback to a virtual cube. - 12-05-2003 , 12:50 PM






You have to make sure that when you write to the virtual cube, all the
dimensions which are not part of the real cube for the current measure are
positioned at their first level.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================
"Ashish" <AAgrawal (AT) nexgenix (DOT) com> wrote

Quote:
I have two cubes.
A having dimensions d1,d2,d3,d4 and a measure a1.. the
cube is write-enabled.
B having dimensions d1,d2,d3,d5 and a measure b1.. also
write-enabled.
I make a virtual cube V and include dimensions
d1,d2,d3,d4,d5 and measure a1,b1
but when i try to writeback measure a1 using 'update V set
d1,d2,d3,d4,a1 = x' it throws an error saying
"unable to open cellset
unable update N/A cell in the virtual cube"
What am i doin wrong??
I hope the problem example makes sense.. help required.
Also the query works well with update A instead of
V..which is absolutely the way it shud be.




Reply With Quote
  #3  
Old   
Nisha Dharod
 
Posts: n/a

Default Re: How do I writeback to a virtual cube. - 12-08-2003 , 03:53 AM



What do you mean by first level? Do you mean 'ALL' Level?
Will the position of dimension in the cube have any
bearing on the update.



Quote:
-----Original Message-----
You have to make sure that when you write to the virtual
cube, all the
dimensions which are not part of the real cube for the
current measure are
positioned at their first level.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no
warranties, and
confers no rights.
==================================================
"Ashish" <AAgrawal (AT) nexgenix (DOT) com> wrote in message
news:087901c3ba39$77f08720$a301280a (AT) phx (DOT) gbl...
I have two cubes.
A having dimensions d1,d2,d3,d4 and a measure a1.. the
cube is write-enabled.
B having dimensions d1,d2,d3,d5 and a measure b1.. also
write-enabled.
I make a virtual cube V and include dimensions
d1,d2,d3,d4,d5 and measure a1,b1
but when i try to writeback measure a1 using 'update V
set
d1,d2,d3,d4,a1 = x' it throws an error saying
"unable to open cellset
unable update N/A cell in the virtual cube"
What am i doin wrong??
I hope the problem example makes sense.. help required.
Also the query works well with update A instead of
V..which is absolutely the way it shud be.



.


Reply With Quote
  #4  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: How do I writeback to a virtual cube. - 12-08-2003 , 12:23 PM



Quote:
What do you mean by first level? Do you mean 'ALL' Level?
By "first level" I mean first level in the hierarchy. If the hierarchy has
All level - then the first level is All, but it may not have it, and then
first level will be something else.

Quote:
Will the position of dimension in the cube have any bearing on the update.
I don't understand this question, can you explain, please.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================




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.