dbTalk Databases Forums  

SSAS 2005: How to assign value to ascendants

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


Discuss SSAS 2005: How to assign value to ascendants in the microsoft.public.sqlserver.olap forum.



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

Default SSAS 2005: How to assign value to ascendants - 03-08-2006 , 01:00 PM






Hi,

I am having interesting problem and I am sure this is just the way SSAS 2005
works by design. But I was wandering if anyone can suggest solution for
this.

I can easily assign value to the members that are generated by descendants
function:
DESCENDANTS([Report Date].[Report Date].[Report Qtr].&[20053]) = 100;

Yet similar ASCENDANTS function does not work
ASCENDANTS([Report Date].[Report Date].[Report Qtr].&[20053]) = 10;

I am getting following message:

Error 1 An arbitrary shape of the sets is not allowed in the current
context. 0 0

Anyone know how can I assign specific value to ascendants of one member?

Right now I have separate statement for each ascendant level (Yr, All for
this case), but I would like to make just one statement to do that.

Thank you very much,

Vimmas





Reply With Quote
  #2  
Old   
Peter Yang [MSFT]
 
Posts: n/a

Default RE: SSAS 2005: How to assign value to ascendants - 03-09-2006 , 01:50 AM






Hello Vimmas,

Based on my scope, I was not able to find a workaround on this issue. It
seems that you have to set this via seperate statement though.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Quote:
From: "Vimas" <Vimas (AT) nospam (DOT) nospam
Subject: SSAS 2005: How to assign value to ascendants
Date: Wed, 8 Mar 2006 14:00:10 -0500
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
Message-ID: <ua1eHKuQGHA.2704 (AT) TK2MSFTNGP15 (DOT) phx.gbl
Newsgroups: microsoft.public.sqlserver.olap
NNTP-Posting-Host: cpe001310f5a811-cm0012c90f99c6.cpe.net.cable.rogers.com
70.29.102.55
Path: TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.olap:67901
X-Tomcat-NG: microsoft.public.sqlserver.olap

Hi,

I am having interesting problem and I am sure this is just the way SSAS
2005
works by design. But I was wandering if anyone can suggest solution for
this.

I can easily assign value to the members that are generated by descendants
function:
DESCENDANTS([Report Date].[Report Date].[Report Qtr].&[20053]) = 100;

Yet similar ASCENDANTS function does not work
ASCENDANTS([Report Date].[Report Date].[Report Qtr].&[20053]) = 10;

I am getting following message:

Error 1 An arbitrary shape of the sets is not allowed in the current
context. 0 0

Anyone know how can I assign specific value to ascendants of one member?

Right now I have separate statement for each ascendant level (Yr, All for
this case), but I would like to make just one statement to do that.

Thank you very much,

Vimmas







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.