title: PowerBI Visual Level Filter ignored when using Measures
body: <p>I have made a repro of a scenario I cant seem to figure out. There is a <a href="https://1drv.ms/u/s!ApGBDso6hX7vjuBkdxYl2i9fZU_DGg" rel="nofollow noreferrer">PBIX here</a>, and a screen shot below. I know what I have in the PBIX is not correct to do the job, but I don't know what I need to add in.</p>
  
  <p>Looking at the diagram, when I move the date slider, the total CountOfMatches adjusts accordingly using the measure below. All happy. </p>
  
  <pre><code>EndedContracts = COUNTROWS(Contracts)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Bs4UA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bs4UA.png" alt="Screen Shot"></a></p>
  
  <p>However, when I update the visual level filter on the EndedContracts to only show those dates with less than two ended contracts, the total does not adjust accordingly.  </p>
  
  <p>How do I get the CountOfMatches measure to consider the visual level filter applied to the EndedContracts measure? If I add a total on the visual, this works as expected, but this example is an abstraction of the full solution which deals with 1000s of customers and having a separate total is ideal. </p>
  
  <p>I also tried to move the EndedContracts measure to a Page Level Filter, but PowerBI will not accept it. </p>