mdx question

15 pts.
Tags:
mdx
Here is the question, need build a new measure sum accuracy based on a measure name inaccurate, which need to sum the inaccurate counts based on the rank,example for inaccurate reason2, rank is 2, so need sum rank1+rank2 for inaccrate count which will be 14..... inaccurate rank Inaccurate_running sum inaccurate reason1 7 1 7 inaccurate reason2 7 2 14 inaccurate reason3 5 3 19 inaccurate reason4 5 4 24 inaccurate reason5 4 5 28 inaccurate reason6 4 6 32 inaccurate reason7 3 7 35 inaccurate reason8 1 8 36 here is the mdx code so far: SET [Inaccurate_Order_set] as ' Order( [Dim Inaccurate Reasons].[Inaccurate Reasons].[Inaccurate Reason One].Members, ([Measures].[Inaccurate] ), BDESC) ' MEMBER [Measures].[Inaccurate_Rank] as ' Rank( [Dim Inaccurate Reasons].[Inaccurate Reasons].CurrentMember, [Inaccurate_Order_set])' MEMBER [Measures].[Inaccurate_Sum] as ' Sum(([Dim Inaccurate Reasons].[Inaccurate Reasons].[Inaccurate Reason One].Members, [Measures].[Inaccurate] ))' i tried two way: 1. MEMBER [Measures].[Inaccurate_RunningSum] as ' Sum( { [Dim Inaccurate Reasons].[Inaccurate Reasons].FirstSibling : [Dim Inaccurate Reasons].[Inaccurate Reasons].CurrentMember}, [Measures].[Inaccurate] )' 2. Member [Measures].[Inaccurate_RunningSum1] as ' Sum(FILTER([Dim Inaccurate Reasons].[Inaccurate Reasons].[Inaccurate Reason One].Members,( [Dim Inaccurate Reasons].[Inaccurate Reasons].[Inaccurate Reason One].members,[measures].[Inaccurate_Rank])< ( [Dim Inaccurate Reasons].[Inaccurate Reasons].[Inaccurate Reason One].currentmember,[measures].[Inaccurate_Rank])), for some reason, the first inaccurate_runningsum not give the right number, the second inaccurate_runningsum not showing anything,can somebody help me with this? Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following