title: How to calculate date difference in a measure in power bi?
body: <p>i am trying to use measure to calculate the number of days between two date and the further use of calculation,</p>
  
  <p>when i am typing my column name in DATEDIFF function its not showing in dax measure. </p>
  
  <p>but the moment i'm typing the number of days manually it works.</p>
  
  <pre><code>ClosingDays = 
  30 * [Total Closing] / [Total Sales]
  </code></pre>
  
  <p>Please let me know how to get number of days in a month in measure.</p>