title: DAX Expression for Annualized Revenue (YTD Revenue divided by days times 365)
body: <p>In SSAS Tabular I already have a measure for YTD Revenue:</p>
  
  <pre><code>Revenue_YTD:=TOTALYTD([Revenue_CM], 'DIM_Time'[PK_Date])
  </code></pre>
  
  <p>Now I need another measure for Annualized Revenue.</p>
  
  <p>It will take the YTD Revenue and divide by the number of days in the YTD measure and then multiply by 365 (in effect, "annualizing" the revenue measure).</p>
  
  <p>I do have an attribute in DIM_Time called YearNumberOfDaysToDate. However, that's an attribute, not a measure. </p>
  
  <p>I have looked at using the DAYSYTD function, but I understand that returns a table not a single value, and I can't quite grok how to pull this together.</p>