Re: Year to date on steroids?



In Analysis Services 2005, create an attribute that defines the reporting
period. Scope on each one and define your calculations accordingly.

Then define a role for each group and set the role default member to the
right value for each member of the role.

Cheers,
Richard

--
_______________
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.

"Ohjoo Kwon" <ojkwon@xxxxxxxxxx> wrote in message
news:OCGCLIXLFHA.4092@xxxxxxxxxxxxxxxxxxxxxxx
> How about using Member Property?
>
> IIF
> (
> VAL(Customer.CurrentMember.Properties("Start")) >
> Time.CurrentMember.Properties("Key"),
> Sum({Time.CurrentMember : StrToMember(Ancestor(Time.CurrentMember,
> Year).PrevMember.UniqueName + ".[" +
> Customer.CurrentMember.Properties("Start") +"]")}),
> Sum({StrToMember(Ancestor(Time.CurrentMember, Year).UniqueName + ".[" +
> Customer.CurrentMember.Properties("Start") +"]") : Time.CurrentMember}
> )
>
> I have no test cube. My sample is not complete nor tested. You may have to
> customize it depending on the dimensional data and time hierarchy. But I
> hope it could help you think out better idea.
>
> Ohjoo Kwon
>
>
> "bammers99" <ian.bamforth@xxxxxxxxx> wrote in message
> news:1111224005.985621.288070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Hi all
>>
>> Here is something that I think may be a bit of a challenge...
>>
>> The topic of multiple hierarchies esp of a time dimension often crops
>> up in this group.
>>
>> What I want to do is to be able to present my data against the
>> accounting calendars of my customers. For example, my year starts in
>> June whereas a particular customer's starts in April
>>
>> Thus, for internal reporting, I want Aug YTD to be Jun+Jul+Aug but when
>> conducting the business review with this customer, Aug YTD becomes
>> Apr+May+Jun+Jul+Aug
>>
>> ... and across all customers there are probably 12 different
>> calendars!!
>>
>> I use a time analysis dimension to generate YTD against my calendar
>> YTD = aggregate(periodstodate(time.year,time.currentmember),[time
>> analysis].[current])
>>
>> To follow this method, I would have to provide 12 alternate hierarchies
>> and 12 alternate YTD calculations - very messy!
>>
>> An extra dimension (with 12 members) to generate these YTDs might be
>> the way to go. But it still looks like the MDX would be tricky
>>
>> Any other ideas would be welcome
>>
>> Regards
>> Ian Bamforth
>>
>
>


.



Relevant Pages

  • Re: How do I do this!!
    ... Load the categorization into a member ... property and create a virtual dimension off of it. ... > I have a customer dimension which stores the customers birth date. ... > age range. ...
    (microsoft.public.sqlserver.olap)
  • Re: how to create the Periodicity dimension
    ... You need to create a dimension table - see examples below: ... calculation dimension with a YTD member: ... A query for YTD sales at August 2002 is a query for the tuple ...
    (microsoft.public.sqlserver.olap)
  • Re: composite rights using msas dimension security
    ... I need to see DRINK products from all customers OR all products in WA state. ... user "test1" as a member; custom restrict just the Product dimension to just DRINK ... user 3 can browse from entire Vendors dimension and from entire Stores dimension. ...
    (microsoft.public.sqlserver.olap)
  • RE: Pushing the boundaries with Dynamic Dimension Security
    ... a particular warehouse. ... There are five member properties at the Name level of the Customers ... notion of using dynamic dimension security comes in. ... Suppose I secure the customer dimension, using a UDF which takes as ...
    (microsoft.public.sqlserver.olap)
  • Re: Slow member loading in excel 2003 pivot table
    ... it loads member quickly... ... I'm gonna add a transform step in my cube loading and just truncate the data... ... Maybe a simply filter another file extension dimension table with a ">3)" and set all the fact with the missing key error to a default member... ... I'm gonna sound crazy, bu I need to find a way to create various sized dimension and see how excel react and display them, I want to range from ...
    (microsoft.public.sqlserver.olap)