![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |