Re: Unable to use original aggragation with Custom Rollup Formula
From: Ohjoo Kwon (ojkwon_at_olap.co.kr)
Date: 02/15/05
- Next message: Mike van der Niet: "Re: Calculated cells change measure 0->NULL infinite recursion err"
- Previous message: zitus: "Re: enterprise or standart edition installed?"
- In reply to: Joel Leong: "Unable to use original aggragation with Custom Rollup Formula"
- Next in thread: Joel Leong: "Re: Unable to use original aggragation with Custom Rollup Formula"
- Reply: Joel Leong: "Re: Unable to use original aggragation with Custom Rollup Formula"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 21:16:59 +0900
I do not understand this part.
---------------
When I have some data for quarterly value for other dimension, I found that
the values are missing
because they do not use SUM ({[Time].CurrentMember.children}) formula as its
aggregation. They suppose to use value in the fact table instead.
---------------
Maybe... for other measures? You mean other measures use other aggregation
function such as count?
If then, use Aggregate() insted of SUM().
If I do not understand your question right, do not blame me. ^^
Ohjoo Kwon
www.olapforum.com
"Joel Leong" <ch_leong@hotmail.com> wrote in message
news:285c01c51332$fd3504d0$a401280a@phx.gbl...
> I have a time dimension which consists of year, quarter
> and month members.
>
> The Quarter member takes 3rd month of each quarter as the
> Cost measure value. For other value it will sum up 1st,
> 2nd and 3rd month.
>
> This works well for monthly value but not quarterly
> value. When I have some data for quarterly value for
> other dimension, I found that the values are missing
> because they do not use SUM
> ({[Time].CurrentMember.children}) formula as its
> aggregation. They suppose to use value in the fact table
> instead.
>
> This is my MDX for Custom Rollup Formula for quarter
> member in Time Dimension.
>
> IIF([Measures].CurrentMember IS [Measures].[Cost],
> [Time].CurrentMember.LastChild, SUM
> ({[Time].CurrentMember.children}))
>
>
> My question is how to write a MDX so that it will only
> use custom rollup formula when only this condition
> ([Measures].CurrentMember IS [Measures].[Cost]) is meet
> and use default rollup if the condition is not meet?
>
> Any workaround?
- Next message: Mike van der Niet: "Re: Calculated cells change measure 0->NULL infinite recursion err"
- Previous message: zitus: "Re: enterprise or standart edition installed?"
- In reply to: Joel Leong: "Unable to use original aggragation with Custom Rollup Formula"
- Next in thread: Joel Leong: "Re: Unable to use original aggragation with Custom Rollup Formula"
- Reply: Joel Leong: "Re: Unable to use original aggragation with Custom Rollup Formula"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|