<?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: SAMEPERIODLAST YEAR doesnt account for February Leap year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SAMEPERIODLAST-YEAR-doesnt-account-for-February-Leap-year/m-p/3041513#M104346</link>
    <description>&lt;P&gt;Hi there,&lt;BR /&gt;I had a similar issue, DATEADD worked well to solve this.&amp;nbsp;&lt;BR /&gt;Try&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LY = &lt;/SPAN&gt;&lt;SPAN&gt;Calculate&lt;/SPAN&gt;&lt;SPAN&gt;([Sales], &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;('Date'[Date], -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,YEAR))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 25 Jan 2023 00:25:21 GMT</pubDate>
    <dc:creator>olgad</dc:creator>
    <dc:date>2023-01-25T00:25:21Z</dc:date>
    <item>
      <title>SAMEPERIODLAST YEAR doesnt account for February Leap year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SAMEPERIODLAST-YEAR-doesnt-account-for-February-Leap-year/m-p/3041509#M104345</link>
      <description>&lt;P&gt;I have noticed that when doing Last Year Calculation, Sameperiod Last Year shows inconsistencies for February when there was a leap year either current/selected or it was a previous one.&lt;BR /&gt;Any recommendations to tackle the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 00:22:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SAMEPERIODLAST-YEAR-doesnt-account-for-February-Leap-year/m-p/3041509#M104345</guid>
      <dc:creator>Miro</dc:creator>
      <dc:date>2023-01-25T00:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAMEPERIODLAST YEAR doesnt account for February Leap year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SAMEPERIODLAST-YEAR-doesnt-account-for-February-Leap-year/m-p/3041513#M104346</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;I had a similar issue, DATEADD worked well to solve this.&amp;nbsp;&lt;BR /&gt;Try&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LY = &lt;/SPAN&gt;&lt;SPAN&gt;Calculate&lt;/SPAN&gt;&lt;SPAN&gt;([Sales], &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;('Date'[Date], -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,YEAR))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Jan 2023 00:25:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SAMEPERIODLAST-YEAR-doesnt-account-for-February-Leap-year/m-p/3041513#M104346</guid>
      <dc:creator>olgad</dc:creator>
      <dc:date>2023-01-25T00:25:21Z</dc:date>
    </item>
  </channel>
</rss>

