<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with Annualized Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Annualized-Measure/m-p/2001510#M44439</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199654" data-lia-user-login="JMAlloway" class="lia-mention lia-mention-user"&gt;JMAlloway&lt;/a&gt; , Not sure on other condition , say &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Annualized = 
var _1 = DIVIDE([Terminations YTD],[MonthsPassed])*12​
var _2 = [Terminations LYTD]
return  
if(isblank(_1), _2, _1) 

/////
example to get LYTD
	Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd("Date"[Date],-1,Year),"12/31"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 06:01:02 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-08-06T06:01:02Z</dc:date>
    <item>
      <title>Help with Annualized Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Annualized-Measure/m-p/2000934#M44425</link>
      <description>&lt;P&gt;I have a very simple calculated measure that provides an annulized termination figure for the current year. What I would like to do, is modify this measure to only calculate the annualized figure for the current year only, otherwise display the total from previous years. How would I best achieve this? I thought I could use an IF, but it does not work&amp;nbsp; becasue I believe that I cannot mix columns and measures in this command. Thanks for any info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Annualized = 
DIVIDE([Terminations YTD],[MonthsPassed])*12​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 19:38:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Annualized-Measure/m-p/2000934#M44425</guid>
      <dc:creator>JMAlloway</dc:creator>
      <dc:date>2021-08-05T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Annualized Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Annualized-Measure/m-p/2001510#M44439</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199654" data-lia-user-login="JMAlloway" class="lia-mention lia-mention-user"&gt;JMAlloway&lt;/a&gt; , Not sure on other condition , say &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Annualized = 
var _1 = DIVIDE([Terminations YTD],[MonthsPassed])*12​
var _2 = [Terminations LYTD]
return  
if(isblank(_1), _2, _1) 

/////
example to get LYTD
	Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd("Date"[Date],-1,Year),"12/31"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 06:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Annualized-Measure/m-p/2001510#M44439</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-08-06T06:01:02Z</dc:date>
    </item>
  </channel>
</rss>

