<?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: DATEADD is not returning Total sales from previous year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-is-not-returning-Total-sales-from-previous-year/m-p/4314987#M171337</link>
    <description>&lt;P&gt;The measure is working, but you don't have any filters on the card visual. That means that the entire date table is visible in the evaluation context, so the DATEADD is showing all dates prior to 2024. If you put the PY measure in the column chart it works.&lt;/P&gt;
&lt;P&gt;You could add a relative date filter to the card visual to only show the current year.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 09:13:13 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2024-12-05T09:13:13Z</dc:date>
    <item>
      <title>DATEADD is not returning Total sales from previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-is-not-returning-Total-sales-from-previous-year/m-p/4314967#M171335</link>
      <description>&lt;P&gt;I have an issue with dateadd function that not returns total sales from previous year:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Y2eJD4NTWY8eCLfb7SB2FlnFwAgCH4qW/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1Y2eJD4NTWY8eCLfb7SB2FlnFwAgCH4qW/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 09:04:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-is-not-returning-Total-sales-from-previous-year/m-p/4314967#M171335</guid>
      <dc:creator>gumis_rulez</dc:creator>
      <dc:date>2024-12-05T09:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: DATEADD is not returning Total sales from previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-is-not-returning-Total-sales-from-previous-year/m-p/4314987#M171337</link>
      <description>&lt;P&gt;The measure is working, but you don't have any filters on the card visual. That means that the entire date table is visible in the evaluation context, so the DATEADD is showing all dates prior to 2024. If you put the PY measure in the column chart it works.&lt;/P&gt;
&lt;P&gt;You could add a relative date filter to the card visual to only show the current year.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 09:13:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-is-not-returning-Total-sales-from-previous-year/m-p/4314987#M171337</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-05T09:13:13Z</dc:date>
    </item>
  </channel>
</rss>

