<p dir="ltr">Mondrian assumes that all keys are valid and present. If I may ask, why have invalid keys in your fact table? If there are no reasons for them, I&#39;d recommend to simply fix your database. </p>
<p dir="ltr">Luc</p>
<div class="gmail_quote">On Mar 4, 2014 11:52 AM, &quot;Mayur Mohite&quot; &lt;<a href="mailto:mayur.mohite@vizury.com">mayur.mohite@vizury.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi,<br><br></div>We had few issues dealing with rows containing invalid join key in the fact table.<br></div><div>Our fact table F has rows with invalid join key with dimension &quot;Geo&quot;.<br>

</div>When we aggregate the fact table by date dimension on a particular date say &quot;2014-03-03&quot; and if we choose another dimension say &quot;Geo&quot; and query for all members of &quot;Geo&quot; (Geo.members) we get aggregated numbers whose total sum (&quot;discarding&quot; Geo members and summing up the returned result) is not equal to the aggregated numbers when we query mondrian for &quot;2014-03-03&quot; alone (due to fact table having invalid join key entries with Geo).<br>

<br></div>After this query if we aggregate the numbers for the date &quot;2014-03-03&quot; alone, mondrian fetches the result by summing up numbers from the cache warmed up by the previous query. Due to which the resulting aggregated numbers are lower than actually present in the DB.<br>

</div><div><div><div><div><br></div><div>Is it possible to instruct mondrian to not populate the cache for the queries involving Geo dimension (Fact table has invalid join key of that dimension) via Schema XML or via mondrian.properties file?<br>

<br></div><div>-Mayur<br></div></div></div></div></div>
<br>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div>