<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 14, 2013, at 2:14 PM, Luc Boudreau wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">This won't affect the results of mdx queries, nor the ordering of members returned from meta data calls. We were assigning an ordinal to members after ordering them, and this is what we are trying to eliminate. </p><p dir="ltr">Using the order key will also allow us to represent complex composite keys.</p></blockquote></div><div>I don't see it HAS to be an INTEGER. &nbsp;I do see there should be some value to order them globally (hash, etc) that sorts properly (more below).</div><div><br></div><div>Will the new ORDER KEY be available as a member property, and sort properly across the dimension?</div><div><br></div><div>I understand that Mondrian, if asked (via .Members) will return them in that order, but if they're OUT of that order (MDX magic), how do we get them back in natural order?</div><div><br></div><div>I know I'm talking about raw MDX here and that's of lesser concern than what Analyzer generates, but it's not uncommon to do some "fancy" set stuff, and then need the data back in the "natural" sort order. &nbsp;Take for an example, how to filter to the top 6 quarters in the past 5 years, but for dashboard display them in chronological "natural" order (composite keys of years/quarters).</div><div><br></div><div>We can now do something like (pseudo-code):</div><div>with&nbsp;</div><div>set Qtrs as 'Time.Quarters.Members'</div><div>set Top6 Head(Order ( [Qtrs], Measures.Sales ), 6)</div><div>set ReadyForDisplay Order ([Top6], Time.CurrentMember.Properties("MEMBER_ORDINAL") )</div><div>&lt;&lt; normal MDX for display &gt;&gt;</div><div><br></div><div>Will 4.0 retain the same ability in MDX to get back into natural order?</div><div><br></div><div>Nick</div></body></html>