<?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: Apply FILTER to calculated YTD sum without removing the ALLEXCEPT groups in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Apply-FILTER-to-calculated-YTD-sum-without-removing-the/m-p/2102887#M47985</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="328680" data-lia-user-login="cerebro" class="lia-mention lia-mention-user"&gt;cerebro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is because of that&amp;nbsp;&lt;SPAN&gt;ALLEXCEPT ( Table, Table[CUSTOMER_NAME]) and Filter(Table,(Table(Source)&amp;lt;&amp;gt;"Budget"))&amp;nbsp;in your code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you share a sample of your data and result table here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":victory_hand:"&gt;✌️&lt;/span&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Sep 2021 12:13:35 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2021-09-28T12:13:35Z</dc:date>
    <item>
      <title>Apply FILTER to calculated YTD sum without removing the ALLEXCEPT groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Apply-FILTER-to-calculated-YTD-sum-without-removing-the/m-p/2102869#M47984</link>
      <description>&lt;P&gt;hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could please someone help me with the formula&lt;/P&gt;&lt;P&gt;the expression for revenue ytd works perfectly for my needs:&lt;/P&gt;&lt;P&gt;YTD_Act = CALCULATE ((TOTALYTD(SUM(Table[REVENUE]),Table[INVOICEDATE].[Date],"31.03")-TOTALMTD(SUM(Table[REVENUE]),Table[INVOICEDATE])),&lt;/P&gt;&lt;P&gt;ALLEXCEPT ( Table, Table[CUSTOMER_NAME]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i also had to upload some budget data to the same query and now i try to add a filter expression&lt;/P&gt;&lt;P&gt;Filter(Table,(Table(Source)&amp;lt;&amp;gt;"Budget")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and if i put this at the end of the whole line&lt;/P&gt;&lt;P&gt;YTD_Act = CALCULATE ((TOTALYTD(SUM(Table[REVENUE]),Table[INVOICEDATE].[Date],"31.03")-TOTALMTD(SUM(Table[REVENUE]),Table[INVOICEDATE])),ALLEXCEPT ( Table, Table[CUSTOMER_NAME]),&amp;nbsp;Filter(Table,(Table(Source)&amp;lt;&amp;gt;"Budget"))&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't recognise different customers for&amp;nbsp;ytd revenue anymore and puts the same value (total revenue overall) in every line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to combine the expressions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 12:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Apply-FILTER-to-calculated-YTD-sum-without-removing-the/m-p/2102869#M47984</guid>
      <dc:creator>cerebro</dc:creator>
      <dc:date>2021-09-28T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Apply FILTER to calculated YTD sum without removing the ALLEXCEPT groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Apply-FILTER-to-calculated-YTD-sum-without-removing-the/m-p/2102887#M47985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="328680" data-lia-user-login="cerebro" class="lia-mention lia-mention-user"&gt;cerebro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is because of that&amp;nbsp;&lt;SPAN&gt;ALLEXCEPT ( Table, Table[CUSTOMER_NAME]) and Filter(Table,(Table(Source)&amp;lt;&amp;gt;"Budget"))&amp;nbsp;in your code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you share a sample of your data and result table here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":victory_hand:"&gt;✌️&lt;/span&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 12:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Apply-FILTER-to-calculated-YTD-sum-without-removing-the/m-p/2102887#M47985</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-09-28T12:13:35Z</dc:date>
    </item>
  </channel>
</rss>

