title: Dynamic Filter in XMLView Binding
body: <p>In my App I have a Microchart which is directly bound to an OData-Entityset in the XML View.</p>
  
  <p>I now want to pass a Filter to that Request. But this filter should be dynamic based on what settings the user selected.</p>
  
  <p>The user selects a timeframe and this value is then stored in another View Local JSON Model.</p>
  
  <p>Is it possible to build the OData Binding Filter based on that value.</p>
  
  <p>Here the binding with filter which wont work.</p>
  
  <p>I tried various combinations:</p>
  
  <ul>
  <li>{filterModel>/status}</li>
  <li>{path: 'filterModel>/status' }</li>
  </ul>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;microchart:InteractiveDonutChart id="microDonutChart"
          segments="{path: '/BookingStOverviewSet', 
                     filters : [ 
                         { path : 'Txt04', 
                           operator : 'GE', 
                           value1 : {filterModel&gt;/status} 
                         } 
                     ]
                    }"&gt;
      &lt;microchart:segments&gt;
       &lt;microchart:InteractiveDonutChartSegment label="{Txt30}" value="{Count}"/&gt;
      &lt;/microchart:segments&gt;
  &lt;/microchart:InteractiveDonutChart&gt;
  </code></pre>
  
  <p>The logic in the controller to build the JSON Model with the Filter values:</p>
  
  <pre class="lang-js prettyprint-override"><code>onInit: function () {
      var filterModel = new sap.ui.model.json.JSONModel(
               {
                 "startOfCal": new Date(),
                 "endOfCal": new Date(), 
                 "status": '0001'
              });
  
      this.getView().setModel(filterModel, 'filterModel');
  }
  </code></pre>