title: Measure to SUM of more recent values using DAX from PowerBI
body: <p>I have the following table:</p>
  
  <p><a href="https://i.stack.imgur.com/gLncQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gLncQ.png" alt="enter image description here"></a></p>
  
  <p>I need to <code>SUM</code> the values of more recent dates, which are the more recent?</p>
  
  <p><a href="https://i.stack.imgur.com/wRldI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wRldI.png" alt="enter image description here"></a></p>
  
  <p>The <code>MEASURE</code> needs return the following value: <strong>27</strong></p>
  
  <p>Why <strong>27</strong>? </p>
  
  <p>Because it's the SUM of more recent values from which <code>idOp</code>. </p>
  
  <ul>
  <li>100 - (2017-07-12) - 10</li>
  <li>101 - (2017-07-14) - 2</li>
  <li>102 - (2017-07-05) - 15</li>
  </ul>