Hi all,<br><br>I&#39;m new here and I&#39;m starting with a complex scenario. Of course, I hope to help guys here instead to be just a listener.<br><br>So,<br><br>I have a cube in 3 dimensions: Network element, Time and KPI (Measure). We have been used MDX to make queries to this<br>
cube using a MDX parser API (which uses Olap4j under the table). This parser is a Fluent Interface responsible to facilitate<br>the query generation through a concise and simple API.<br><br>As well, I need to implement filtering, which includes: Filter by Element, Measure and Time.<br>
I&#39;ve been blocked on Time issue. I can&#39;t understand completely the Time filtering in MDX.<br><br>1) : operator.<br><br>When I try to run this query:<br>WITH MEMBER [Time].[Filter] AS<br>&#39;Aggregate({[Time].[2006]:[Time].[2010]})&#39;<br>
The mondrian throws an exception of: object member not found (in this case, the 2006 object).<br>I would like to know how to ignore this. I want to make filtering crossing many times and not necessary all the time objects<br>
shall be there. Ex: 2006 -&gt; OK, 2007 -&gt; Missing - 2008 -&gt; OK, 2009 -&gt; OK. If I make the filtering between 2006 and 2009,<br>mondrian throws such error. What is the best way to avoid this? Try to disable member validation or change the query?<br>
<br>2) Parallel period:<br><br>As I checked in documentation, the function parallel allows to gather member that are cousin among them.<br>I would like to make a filter on a set of elements in my cube, just by selecting some hours of day (Ex: 2-3h AM, 5h-7h PM)<br>
crossing the entire Time members, which means: get the network elements whose have records in such hours, in all days, between a start and end date.<br>The hierarchy of Time permits to get down from Year to Hour: Year, Month, Week, Day, Hour.<br>
<br>These 2 things are my big problems. I have been facing these things during these last 2 weeks, and I didn&#39;t figure out a good solution.<br>I have tried aggregate, PeriodsDate, YTD, unsuccessfully.<br><br>I hope that some of you can help me on this challenger.<br>
<br>Since know, I thank you only to be patient on this long reading.<br><br>Regards,<br><br>Jônatas<br><br><br>