<div dir="ltr">Hey all, I seem to have found a bug in the non empty cross join optimization.<div>Mondrian version: 4.3.0.1</div><div><div><br></div><div>I have a data warehouse that is multi-tenant, and has a date dimension with different fiscal information per client (all tables segregated by a client_sk).  Each client has their own fiscal calendar, so it&#39;s necessary to separate them out like that.</div><div><br></div><div>The issue seems to be, when  doing the cross join non empty with my fiscal year as a column, if the first result that comes back for that member is empty, even though it is for a totally different client, it will throw out that whole member.</div><div><br></div><div>If the fiscal year is in the row, and another member in the column, the query returns as expected.</div><div><br></div><div>I&#39;ll attach a few example query images:</div><div>Example of why it seems to be removing the members (not first in the list):</div><div><img src="cid:ii_154517b1899776f2" alt="Inline image 5" style="margin-right: 0px;" width="1162" height="365"><br></div><div><div id="gmail_hkl00aettcvt" style="display:inline-block"><br></div></div><div>Here is my problem query:</div><div><img src="cid:ii_15451789f6b5f492" alt="Inline image 2" width="444" height="472"><br></div><div><br></div><div>Here it is with the column/row flipped:</div><div><img src="cid:ii_15451796ef6c1b66" alt="Inline image 4" width="455" height="475"><br></div></div></div>