Request for comment: Global filters linked to different models<div>We've found a way of implementing global filters (we use dimension property filters) for different models... and we'd like to know pitfalls of our approach (for the moment I can guess 2 :-))</div> <div><br/></div> <div><span style="font-weight:bold">Task:</span> Apply global &quot;Entity - Office&quot; filter to Operations and Salary models</div> <div><br/></div> <div><span style="font-weight:bold">Approach:</span></div> <div><span style="font-weight:bold">1. Create all matrices and filters needed and apply corresponding filters to matrices.</span><br/></div> <div><br/></div> <div>Matrix 1: Model - Operations. Columns - Entity:Business unit Leaves. Rows - Account. Dimension property filter: Entity - Office.  </div> <div><br/></div> <div>Matrix 2: Model - Salary. Columns - Account. Rows - Entity:Employees. Dimension property filter: Entity - Office</div> <div><br/></div> <div><span style="font-weight:bold">2. Edit RDL</span></div> <div><br/></div> <div><span style="font-weight:bold">2a. Find filter definitions</span></div> <div>&lt;ReportParameter Name=&quot;<span style="font-weight:bold"><span style="font-style:italic">PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff</span></span>&quot;&gt; ' Filter from Operations Model to be applied to Salary model</div> <div>…</div> <div>&lt;/ReportParameter&gt;</div> <div>&lt;ReportParameter Name=&quot;PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964&quot;&gt; ' Filter from Salary Model to be &quot;skipped&quot;</div> <div>…</div> <div>&lt;/ReportParameter&gt;</div> <div><span style="font-weight:bold">2b. Replace Name and Value for QueryParameters using appropriate name of one of the filters (ReportParameter) you want to use for different models:</span></div> <div>&lt;QueryParameters&gt;</div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;QueryParameter Name=&quot;PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964&quot;&gt; </span><span style="font-weight:bold">' to be replaced with see bellow</span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;QueryParameter Name=&quot;PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff&quot;&gt; </span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;Value&gt;=Parameters!PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964.Value&lt;/Value&gt; </span><span style="font-weight:bold">' to be replaced with see bellow</span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;Value&gt;=Parameters!PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff.Value&lt;/Value&gt; </span></span></div> <div>&lt;/QueryParameter&gt;</div> <div>&lt;/QueryParameters&gt;</div> <div><br/></div> <div><span style="font-weight:bold">3. That's it. </span></div> <div>If I select Office for Operations matrix, it's also applied to Salary Matrix :-)</div> <div><br/></div> <div><span style="font-weight:bold"><span style="text-decoration:underline">Guessed pitfalls:</span></span></div> <div>1. Forms and reports created using this approach can't be migrated to other application - this is hardcode! :-(</div> <div>2. Any change to report definition will destroy our filters override - this is hardcode! :-(</div> <div><br/></div> <div>Any thoughts re other difficulties we'll meet?</div> <div><br/></div> <div>Regards, Vasily</div>© 2009 Microsoft Corporation. All rights reserved.Wed, 06 May 2009 10:08:52 Z179bf6ec-5ea8-4181-90e0-de5e4aa82a9ahttp://social.technet.microsoft.com/Forums/en-US/ppsplanning/thread/179bf6ec-5ea8-4181-90e0-de5e4aa82a9a#179bf6ec-5ea8-4181-90e0-de5e4aa82a9ahttp://social.technet.microsoft.com/Forums/en-US/ppsplanning/thread/179bf6ec-5ea8-4181-90e0-de5e4aa82a9a#179bf6ec-5ea8-4181-90e0-de5e4aa82a9aVdodonovhttp://social.technet.microsoft.com/Profile/en-US/?user=VdodonovRequest for comment: Global filters linked to different models<div>We've found a way of implementing global filters (we use dimension property filters) for different models... and we'd like to know pitfalls of our approach (for the moment I can guess 2 :-))</div> <div><br/></div> <div><span style="font-weight:bold">Task:</span> Apply global &quot;Entity - Office&quot; filter to Operations and Salary models</div> <div><br/></div> <div><span style="font-weight:bold">Approach:</span></div> <div><span style="font-weight:bold">1. Create all matrices and filters needed and apply corresponding filters to matrices.</span><br/></div> <div><br/></div> <div>Matrix 1: Model - Operations. Columns - Entity:Business unit Leaves. Rows - Account. Dimension property filter: Entity - Office.  </div> <div><br/></div> <div>Matrix 2: Model - Salary. Columns - Account. Rows - Entity:Employees. Dimension property filter: Entity - Office</div> <div><br/></div> <div><span style="font-weight:bold">2. Edit RDL</span></div> <div><br/></div> <div><span style="font-weight:bold">2a. Find filter definitions</span></div> <div>&lt;ReportParameter Name=&quot;<span style="font-weight:bold"><span style="font-style:italic">PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff</span></span>&quot;&gt; ' Filter from Operations Model to be applied to Salary model</div> <div>…</div> <div>&lt;/ReportParameter&gt;</div> <div>&lt;ReportParameter Name=&quot;PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964&quot;&gt; ' Filter from Salary Model to be &quot;skipped&quot;</div> <div>…</div> <div>&lt;/ReportParameter&gt;</div> <div><span style="font-weight:bold">2b. Replace Name and Value for QueryParameters using appropriate name of one of the filters (ReportParameter) you want to use for different models:</span></div> <div>&lt;QueryParameters&gt;</div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;QueryParameter Name=&quot;PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964&quot;&gt; </span><span style="font-weight:bold">' to be replaced with see bellow</span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;QueryParameter Name=&quot;PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff&quot;&gt; </span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;Value&gt;=Parameters!PerformancePoint_ef581824_8178_4b6b_a743_59a26f740964.Value&lt;/Value&gt; </span><span style="font-weight:bold">' to be replaced with see bellow</span></span></div> <div><span style="font-style:italic"><span style="font-style:normal">&lt;Value&gt;=Parameters!PerformancePoint_ebb03fb2_b6f8_4298_91cf_ceb94ee473ff.Value&lt;/Value&gt; </span></span></div> <div>&lt;/QueryParameter&gt;</div> <div>&lt;/QueryParameters&gt;</div> <div><br/></div> <div><span style="font-weight:bold">3. That's it. </span></div> <div>If I select Office for Operations matrix, it's also applied to Salary Matrix :-)</div> <div><br/></div> <div><span style="font-weight:bold"><span style="text-decoration:underline">Guessed pitfalls:</span></span></div> <div>1. Forms and reports created using this approach can't be migrated to other application - this is hardcode! :-(</div> <div>2. Any change to report definition will destroy our filters override - this is hardcode! :-(</div> <div><br/></div> <div>Any thoughts re other difficulties we'll meet?</div> <div><br/></div> <div>Regards, Vasily</div>Tue, 05 May 2009 12:38:27 Z2009-05-05T12:38:27Zhttp://social.technet.microsoft.com/Forums/en-US/ppsplanning/thread/179bf6ec-5ea8-4181-90e0-de5e4aa82a9a#25efa5c7-5bcf-4b80-966e-e7fc9c58d324http://social.technet.microsoft.com/Forums/en-US/ppsplanning/thread/179bf6ec-5ea8-4181-90e0-de5e4aa82a9a#25efa5c7-5bcf-4b80-966e-e7fc9c58d324Peter Ebhttp://social.technet.microsoft.com/Profile/en-US/?user=Peter%20EbRequest for comment: Global filters linked to different modelsProbably the forms and reports will migrate fine. Only the application is updated, so in a staging/production environment where all models are named the same etc it probably will work.<br/> <br/> Probably you can make many changes to the report definition and the filters will still work. Most of that RDL only gets written when the filters are created.<br/> <br/> Have you double checked that you can achieve writable regions in an assignment with this approach? I think you should be able to, but its worth double checking.<br/> <br/> More pitfalls aka why this isn't supported:<br/> 3. No clear way to determine for form authors which dimensions/hierarchies are appropriate (identical) for this purpose. All that information is only exposed to the modeler.<br/> 4. No way for the end user to know what to do if the models are out of date. All relevant error messages are for the modeler.<br/> 5. If/When you have problems with this report or form you will probably have to revert the changes so that you can rule out this change as the root cause. :(<hr class="sig">-Peter Eb.Tue, 05 May 2009 15:58:39 Z2009-05-05T15:58:39Z