title: TOTALMTD Measure is not working in Power BI Dax
body: <p>I am creating a Power BI report where I have 1 Date table and another table, in which I have 2 columns as Date Column and Daily Target. I need to create a MTD Measure which will sum the current month to date daily targets. I am using this formula but it is not returning a correct result. Here is the formula I am using:</p>
  
  <pre><code>    MTD-Measure = CALCULATE(SUM(GroupByTableForMTD[Max Daily Target]),DATESMTD(tblDate[Date]))
  </code></pre>
  
  <p>Here is my Data Table.</p>
  
  <p><a href="https://i.stack.imgur.com/6Vb8T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Vb8T.png" alt="enter image description here"></a></p>
  
  <p>Please help me to write a MTD measure. I will be very thankful to you. </p>