<?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: comparing YTD data for current year (till August) with chosen year (till August) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719216#M82855</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;, you are right, but that is not my requirement. How would you be able to have 2 year slicers on the same page? Else if I just use 1 year slicer, instead of providing just the prior year's YTD, I want to choose the year for comparison. How would I be able to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is what the issue is that I am currently facing. I need to compare apples to apples when it comes to the year 2022. I tried to created a calculated column that would look at the past and future dates. But it doesnt seem to be working..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 07:26:09 GMT</pubDate>
    <dc:creator>DataAnalyst_99</dc:creator>
    <dc:date>2022-08-23T07:26:09Z</dc:date>
    <item>
      <title>comparing YTD data for current year (till August) with chosen year (till August)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719032#M82840</link>
      <description>&lt;P&gt;Hello everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I needed help to compare this year's YTD (which is till August) to any chosen previous years. I have 2 calendar tables and have created measures to compare the data for the selected years. The measures work fine. The issue comes when I am comparing 2022 with any other year. Since 2022 is only till August, ideally any other year I choose for comparison should also show me data till August. However, what I am getting is comparing data till August 2022 to the full year of the other selected year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My measures for comparing YTD are:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year 1 Quantity YTD = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTALYTD&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;'Query1'[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;'DimDate'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;DimDate[FutureDate]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Past"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year 2 Qty YTD = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTALYTD&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;'Query1'[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;'compare year'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;'compare year'[FutureDate]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Past"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DimDate&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'compare year'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Query1[ShipDate]&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;Please help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:42:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719032#M82840</guid>
      <dc:creator>DataAnalyst_99</dc:creator>
      <dc:date>2022-08-23T06:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: comparing YTD data for current year (till August) with chosen year (till August)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719085#M82843</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(Year 1 Quantity YTD&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DimDate&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'compare year'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Query1[ShipDate]&lt;/SPAN&gt;&lt;SPAN&gt;),SAMEPERIODLASTYEAR(DimDate[Date]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:53:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719085#M82843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T06:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: comparing YTD data for current year (till August) with chosen year (till August)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719154#M82850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, it didnt work, in fact, it returned a blank chart. Any idea why?&lt;BR /&gt;Just to provide additional info, the Compare Year date table is an inactive relationship with the Query1 table. While it is essentially the same table as the DimDate table, it is not connected to it.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:09:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719154#M82850</guid>
      <dc:creator>DataAnalyst_99</dc:creator>
      <dc:date>2022-08-23T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: comparing YTD data for current year (till August) with chosen year (till August)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719179#M82853</link>
      <description>&lt;P&gt;DataANalyst_99&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to compare times you shoild have the same link on date table&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:14:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719179#M82853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T07:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: comparing YTD data for current year (till August) with chosen year (till August)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719216#M82855</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;, you are right, but that is not my requirement. How would you be able to have 2 year slicers on the same page? Else if I just use 1 year slicer, instead of providing just the prior year's YTD, I want to choose the year for comparison. How would I be able to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is what the issue is that I am currently facing. I need to compare apples to apples when it comes to the year 2022. I tried to created a calculated column that would look at the past and future dates. But it doesnt seem to be working..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/comparing-YTD-data-for-current-year-till-August-with-chosen-year/m-p/2719216#M82855</guid>
      <dc:creator>DataAnalyst_99</dc:creator>
      <dc:date>2022-08-23T07:26:09Z</dc:date>
    </item>
  </channel>
</rss>

