title: how to add the first 10 records of a rank with measure in power bi
body: <p>I am trying to add the first 10 values of a rank. I'm doing the rank like this:</p>
  <pre><code>Rank_4 = IF(HASONEVALUE('inci soporte_nuevo'[pb_cod_nom]),
  RANKX(ALLSELECTED('inci soporte_nuevo'[pb_cod_nom]),
  CALCULATE(SUM('inci soporte_nuevo'[nro_inc])),,DESC))
  </code></pre>
  <p>it is from a table of incidents that occur at sites. column nro_inc is equal to 1 as I use it to count the records.</p>
  <p><a href="https://i.stack.imgur.com/F9R3A.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>How can I make the first 10 records of this image add up, I mean 660 + 636 + 629 ...</p>