![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Reply-To: "Giri" <gtharman (AT) newsgroups (DOT) nospam From: "Giri" <gtharman (AT) newsgroups (DOT) nospam Subject: Calculated measure should return aggregation from different level Date: Thu, 26 Aug 2004 23:24:28 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: <#quTxs7iEHA.396 (AT) TK2MSFTNGP12 (DOT) phx.gbl Newsgroups: microsoft.public.sqlserver.olap NNTP-Posting-Host: dsl-217-155-241-94.zen.co.uk 217.155.241.94 Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 |
|
Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.olap:53027 X-Tomcat-NG: microsoft.public.sqlserver.olap I have seen this before but have forgotten how it hangs together.. perhaps someone with better memory could help :-) I have fact data captured per quarter, it obviously doesn't make sense to just some this up if looking it at from the Year dimension.. what I want to do is just take the value at the last quarter for that year.. if looking at the value finer grained than a quarter, say month, I want to just take the value for the quarter preceding that month.. How do can I navigate back and forward and up and down the Time dimesion like this? I presume I start with something like iif(Time.CurrentMember.Level.Name = "Year"... thanks |
#3
| |||
| |||
|
|
Hi Giri, I am afraid that I do not understand you quite well. Are you writing an MDX based on a cube? Also what is the meaning of "How do can I navigate back and forward and up and down the Time dimesion like this?" Can you illustrate with some sample data? Have you checked LastChild function? Bill Cheng Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- | Reply-To: "Giri" <gtharman (AT) newsgroups (DOT) nospam | From: "Giri" <gtharman (AT) newsgroups (DOT) nospam | Subject: Calculated measure should return aggregation from different level | Date: Thu, 26 Aug 2004 23:24:28 +0100 | Lines: 19 | X-Priority: 3 | X-MSMail-Priority: Normal | X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 | Message-ID: <#quTxs7iEHA.396 (AT) TK2MSFTNGP12 (DOT) phx.gbl | Newsgroups: microsoft.public.sqlserver.olap | NNTP-Posting-Host: dsl-217-155-241-94.zen.co.uk 217.155.241.94 | Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 phx.gbl | Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.olap:53027 | X-Tomcat-NG: microsoft.public.sqlserver.olap | | I have seen this before but have forgotten how it hangs together.. perhaps | someone with better memory could help :-) | | I have fact data captured per quarter, it obviously doesn't make sense to | just some this up if looking it at from the Year dimension.. what I want to | do is just take the value at the last quarter for that year.. if looking at | the value finer grained than a quarter, say month, I want to just take the | value for the quarter preceding that month.. | | How do can I navigate back and forward and up and down the Time dimesion | like this? | | I presume I start with something like | | iif(Time.CurrentMember.Level.Name = "Year"... | | thanks | | | |
![]() |
| Thread Tools | |
| Display Modes | |
| |