I have an ssas cube with a calculated member called cumulative ptp's. Everything seems to work in excel except for the Grand Total which is displaying #Value!. I'm not sure where the problem is. I've added a few pics of what I have done. Any help will be most appreciated. Thanks in advance.
IIF
(
[Day-Month Analysis].[Day].FIRSTCHILD = [Day-Month Analysis]. [Day].CURRENTMEMBER,
Sum(
{[Day-Month Analysis].[Day].FIRSTCHILD:[Day-Month Analysis]. [Day].CURRENTMEMBER},
[Measures].[Sum of IsPTP]
)
, SUM(Measures.[Sum of IsPTP])
)
So I downloaded that extension and the MDX error is: "Range operator (:) operands' have different levels; they must be the same"
Try this:
Sum(
{[Null:[Day-Month Analysis].[Day].CURRENTMEMBER},
[Measures].[Sum of IsPTP]
)
I don't think you need the IIf. If that doesn't work right describe what's in that [Day] hierarchy further.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.