<?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: Removing month filter on YTD calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/2005789#M44573</link>
    <description>&lt;P&gt;Nobody?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 12:41:05 GMT</pubDate>
    <dc:creator>Raph</dc:creator>
    <dc:date>2021-08-09T12:41:05Z</dc:date>
    <item>
      <title>Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997234#M44296</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I have a simple model like this :&amp;nbsp;&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;I have this measure which calculates sold quantities on a YTD basis :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Quant. YTD = CALCULATE(SUM(Sales[Quantity]),DATESYTD('Date'[Day])) ... which works fine&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;when there is no month selected on the Month slicer. If I select a month on the slicer, there is of course only one point left one the line chart. So I changed the measure in order to display all months on the line chart even if a month is selected on the slicer :&amp;nbsp;&lt;/SPAN&gt;&lt;P&gt;Quant. YTD ALL Month = CALCULATE(SUM(Sales[Quantity]),DATESYTD('Date'[Day]), ALL('Date'[Month]))&lt;/P&gt;&lt;P&gt;The problem is : even with this ALL supposed to remove the month filter, there is only one point left in the line chart if the user select a specific month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Raphaël&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Aug 2021 08:14:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997234#M44296</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2021-08-04T08:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997493#M44303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="107078" data-lia-user-login="Raph" class="lia-mention lia-mention-user"&gt;Raph&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can simply remove the interaction of Line chart with the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 10:11:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997493#M44303</guid>
      <dc:creator>Tanushree_Kapse</dc:creator>
      <dc:date>2021-08-04T10:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997608#M44307</link>
      <description>&lt;P&gt;Thank you for your answer&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="281080" data-lia-user-login="Tanushree_Kapse" class="lia-mention lia-mention-user"&gt;Tanushree_Kapse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed that is how I fixed the problem but I am looking now for a DAX solution. I would like to understand why ALL () is not enough to remove filter applied on month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raphaël&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 10:51:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1997608#M44307</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2021-08-04T10:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1999576#M44391</link>
      <description>&lt;P&gt;Please find below a link to the PBIX file :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Qw55fM9d1btmrdCkwBYWK460k7Cswat5/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1Qw55fM9d1btmrdCkwBYWK460k7Cswat5/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raphaël&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 07:47:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/1999576#M44391</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2021-08-05T07:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/2005789#M44573</link>
      <description>&lt;P&gt;Nobody?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 12:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/2005789#M44573</guid>
      <dc:creator>Raph</dc:creator>
      <dc:date>2021-08-09T12:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Removing month filter on YTD calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/2006148#M44588</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="107078" data-lia-user-login="Raph" class="lia-mention lia-mention-user"&gt;Raph&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you can do this in a line or a bar chart.&lt;/P&gt;&lt;P&gt;You are using the month column in the axis...and the visual still being interacted with the slicer, clearly filters out the months on the basis of your selections in the slicer, even if you are using a measure with the ALL function in the values field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll have to remove the interaction between the two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mark this as a solution if I answered your question. Kudos are always appreciated.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks!&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:57:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Removing-month-filter-on-YTD-calculation/m-p/2006148#M44588</guid>
      <dc:creator>Tanushree_Kapse</dc:creator>
      <dc:date>2021-08-09T14:57:01Z</dc:date>
    </item>
  </channel>
</rss>

