<?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: Last Year measure using DATEADD reporting incorrect total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Year-measure-using-DATEADD-reporting-incorrect-total/m-p/3501243#M134256</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637746" data-lia-user-login="charliecasm" class="lia-mention lia-mention-user"&gt;charliecasm&lt;/a&gt;&amp;nbsp;, I made up some data, looks your measure is correct, could you please upload your PBI file in order to analyse further? otherwise, could not find out the root cause without your other data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 12:00:44 GMT</pubDate>
    <dc:creator>Walter_W2022</dc:creator>
    <dc:date>2023-10-27T12:00:44Z</dc:date>
    <item>
      <title>Last Year measure using DATEADD reporting incorrect total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Year-measure-using-DATEADD-reporting-incorrect-total/m-p/3500939#M134232</link>
      <description>&lt;P&gt;Hi there, I am trying to create a measure for Last Year metrics, using the DATEADD function. I am using the below, with the measure reporting accurate data by date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cost LY =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Cost (EUR)]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[dated]&lt;/SPAN&gt;&lt;SPAN&gt;,-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;)).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, when I present the data by day, including yesterday (relative to the most recent data in the model) the total reported is inflated by quite a bit. As shown in the screenshot, the total for Cost LY over the date range is around 210k, not 369,824.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;SPAN&gt;I can't identify where this additonal data is coming from, if someone has seen this before, or knows how the troubleshoot this, it would be a great help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Oct 2023 08:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Year-measure-using-DATEADD-reporting-incorrect-total/m-p/3500939#M134232</guid>
      <dc:creator>charliecasm</dc:creator>
      <dc:date>2023-10-27T08:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year measure using DATEADD reporting incorrect total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Year-measure-using-DATEADD-reporting-incorrect-total/m-p/3501243#M134256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637746" data-lia-user-login="charliecasm" class="lia-mention lia-mention-user"&gt;charliecasm&lt;/a&gt;&amp;nbsp;, I made up some data, looks your measure is correct, could you please upload your PBI file in order to analyse further? otherwise, could not find out the root cause without your other data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 12:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Year-measure-using-DATEADD-reporting-incorrect-total/m-p/3501243#M134256</guid>
      <dc:creator>Walter_W2022</dc:creator>
      <dc:date>2023-10-27T12:00:44Z</dc:date>
    </item>
  </channel>
</rss>

