<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Luc,</div><div><br></div><div>Alas, my case has a major difference with the one you mention : in FoodMart, all bosses have a salary.</div><div>Therefore, they are members on their own.</div><div><br></div><div>In my case, some super-categories (i.e. bosses) are not members on their own but should be considered as members because children of theirs are members.</div><div><br></div><div>This is the essence of my problem.</div><div><br></div><div>Do you concur with my analysis ?</div><div><br></div><div>If you want to test with FoodMart in analog conditions, I guess you just need to delete in the DB every salary record related to bosses and see how Mondrian reacts with the roll-ups.</div><div><br></div><div>Kind regards</div><div>Arnaud</div><div><br></div><br><div><div>Le 20 mars 2014 à 17:00, <a href="mailto:mondrian-request@pentaho.org">mondrian-request@pentaho.org</a> a écrit :</div></div><blockquote type="cite"><div><br class="Apple-interchange-newline"></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Message: 2<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Date: Thu, 20 Mar 2014 09:59:26 -0400<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>From: Luc Boudreau &lt;<a href="mailto:lucboudreau@gmail.com">lucboudreau@gmail.com</a>&gt;<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Subject: Re: [Mondrian] Parent-child roll-up/drill-down limitations?<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>To: Mondrian developer mailing list &lt;<a href="mailto:mondrian@pentaho.org">mondrian@pentaho.org</a>&gt;<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Message-ID:<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><span class="Apple-tab-span" style="white-space: pre;">        </span>&lt;<a href="mailto:CAKTEAx-7dxiA6f1ZbkUKAWVSAw0B5eAJWhdVe-BRbmHx0OT_sA@mail.gmail.com">CAKTEAx-7dxiA6f1ZbkUKAWVSAw0B5eAJWhdVe-BRbmHx0OT_sA@mail.gmail.com</a>&gt;<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Content-Type: text/plain; charset="utf-8"<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><font color="#0f61c8"><br></font><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Hello Lai,<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><font color="#0f61c8"><br></font><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>After reviewing your followup on StackOverflow, I can guess that you've<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>worked around the problem in the end.<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><font color="#0f61c8"><br></font><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>About the specific case, have you tried to compare your schema with the one<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>we use for testing? (<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><a href="https://github.com/pentaho/mondrian/blob/master/demo/FoodMart.xml">https://github.com/pentaho/mondrian/blob/master/demo/FoodMart.xml</a>&nbsp;)<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><font color="#0f61c8"><br></font><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>In this schema, we use a parent-child relationship to link the employees to<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>their boss. We can reliably ask for the sum of all the salaries of a given<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>employee and the total does include the salaries of all subordinates, even<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>though not all of the members are at the lowest level. I think you will<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>only need to tweak a couple columns to get it to work.<br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><font color="#0f61c8"><br></font><div>Luc</div></blockquote><br></body></html>