<?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 DAX Create table with each day of a month and accumulated sales for each day in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507756#M29232</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From a simple fact table of sales which shows the date of the sale and the amount ($) sold, connected to a Calendar table,&amp;nbsp;&lt;SPAN&gt;I'm trying to find some function or group of functions that return a 2 column table according to a month defined in the function: Day of the month | Accumulated Sale&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The accumulated sale to each of those days of the month, would also need to consider the sales of previous months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried using SUMMARIZE per day, and an acumulative function with CALCULATE and ALL, but I think it is not working because of the way SUMMARIZE creates the filter context.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jesus&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 15:36:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-20T15:36:43Z</dc:date>
    <item>
      <title>DAX Create table with each day of a month and accumulated sales for each day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507756#M29232</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From a simple fact table of sales which shows the date of the sale and the amount ($) sold, connected to a Calendar table,&amp;nbsp;&lt;SPAN&gt;I'm trying to find some function or group of functions that return a 2 column table according to a month defined in the function: Day of the month | Accumulated Sale&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The accumulated sale to each of those days of the month, would also need to consider the sales of previous months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried using SUMMARIZE per day, and an acumulative function with CALCULATE and ALL, but I think it is not working because of the way SUMMARIZE creates the filter context.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jesus&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:36:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507756#M29232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Create table with each day of a month and accumulated sales for each day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507851#M29239</link>
      <description>&lt;P&gt;Not clear what you're trying to do. Are you trying to create a calculated table in the model? A measure can't return a table, so it can't be a measure.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:15:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507851#M29239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T16:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Create table with each day of a month and accumulated sales for each day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507858#M29240</link>
      <description>&lt;P&gt;Yes, I want to create a calculated table in the model, or most probably I would use it as a virtual table in a measure.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1507858#M29240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Create table with each day of a month and accumulated sales for each day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1508373#M29255</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Sample data would have helped. With help from a date table &lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] &amp;lt;=max(date[date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without date table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(Sales),Sales[Sales Date] &amp;lt;=max(Sales[Sales Date])))&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 01:53:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Create-table-with-each-day-of-a-month-and-accumulated-sales/m-p/1508373#M29255</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-21T01:53:21Z</dc:date>
    </item>
  </channel>
</rss>

