<?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: Convert Tableau function WINDOW_SUM into DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104936#M109358</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Right, the formula I provided is a cumulative total that resets on April 1st. There is a new WINDOW function in DAX. It's sort of kind of supposed to work at a "visual" level but that's not really how it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a cumulative total that resets on April 1st, the formula I provided should work. It dynamically creates the "window" in the __Table VAR.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 00:47:17 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-03-01T00:47:17Z</dc:date>
    <item>
      <title>Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104740#M109340</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to convert the below Tableau expression into DAX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WINDOW_SUM(sum([values]), -DATEDIFF('day',DATE('1/4/'+str(year(DATEADD('month',-3,attr([Date]))))),attr([Date])),0)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 21:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104740#M109340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-28T21:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104747#M109341</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;What does WINDOW_SUM do?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 21:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104747#M109341</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-02-28T21:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104752#M109342</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, here is a link and extract:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.tableau.com/current/pro/desktop/en-us/functions_functions_tablecalculation.htm" target="_blank"&gt;https://help.tableau.com/current/pro/desktop/en-us/functions_functions_tablecalculation.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 21:51:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104752#M109342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-28T21:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104767#M109345</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;As I understand this formula, it starts summing up values on 1 April and restarts every year on the same date.&lt;BR /&gt;The first value is of 1 April, the second value is of 2 April + 3 April, the third value is of 3 April +4 April+5 April and so on.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 22:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104767#M109345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-28T22:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104858#M109352</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Maybe:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative April 1 =
  VAR __Date = MAX('Table'[Date])
  VAR __Year = IF(MONTH(__Date) &amp;lt; 4, YEAR(__Date) - 1 , YEAR(__Date))
  VAR __Table = FILTER(ALL('Table'), [Date] &amp;lt;= __Date &amp;amp;&amp;amp; [Date] &amp;gt;= DATE(__Year, 4, 1))
  VAR __Result = SUMX(__Table, [Values])
RETURN
  __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 23:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104858#M109352</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-02-28T23:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104892#M109356</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;The formula works as a cumulative total. There window element is not there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 23:56:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104892#M109356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-28T23:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Tableau function WINDOW_SUM into DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104936#M109358</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Right, the formula I provided is a cumulative total that resets on April 1st. There is a new WINDOW function in DAX. It's sort of kind of supposed to work at a "visual" level but that's not really how it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a cumulative total that resets on April 1st, the formula I provided should work. It dynamically creates the "window" in the __Table VAR.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 00:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Tableau-function-WINDOW-SUM-into-DAX/m-p/3104936#M109358</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-03-01T00:47:17Z</dc:date>
    </item>
  </channel>
</rss>

