title: Power BI if column equals this and greater than that then Percentage
body: <p>I am trying to do an if statement in a Power Bi Measure.</p>
  <p>See data below. If [Type] = &quot;CD&quot; &amp;&amp; [Days] &gt;= 5 then divide by the total number of &quot;CD&quot;</p>
  <p><a href="https://i.stack.imgur.com/PmNz7.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p><a href="https://i.stack.imgur.com/alUxl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/alUxl.png" alt="enter image description here" /></a></p>
  <p>So the answer should be there are 7 CD and 2 are greater than or equal to 6 so that would be %85</p>