title: PowerBI - show last value
body: <p>I have some data about company headcount and I want to see in my donut chart only values from this month. I can do it by visual filters, but it isn't dynamic.</p>
  <p>I have created measure as follows:</p>
  <pre><code>Zatrudnienie aktualne = 
  CALCULATE([Zatrudnienie],
      FILTER(Kalendarz,MAX(Kalendarz[Date])))
  </code></pre>
  <p>Where [Zatrudnienie] is my headcount, but this measure sum all headcount from all months - it is incorrect, I want to see a maximum of my dates - this month as the maximum value.</p>
  <p>How to do it?</p>