<?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: Dax sum cumulative by selected day for month and year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789302#M4454</link>
    <description>&lt;P&gt;The measure you are using will work only for a month if you have dates for more than a month. The cumulative sum will start afresh as you are using MTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using the measure I gave, it should work for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 10:46:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-11T10:46:09Z</dc:date>
    <item>
      <title>Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/788375#M4412</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem I need to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the follow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Day&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;11&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I need to calculate the next matrix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Day&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;157&lt;/TD&gt;&lt;TD&gt;255&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where 157&amp;nbsp; is the cumulative sales of the first seven days and 255 is the sum of the days since 1 to 14 then i will need 1 to 21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to select the days for example if i select the day 8 then 1 to 8&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help like always.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:46:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/788375#M4412</guid>
      <dc:creator>bestevez</dc:creator>
      <dc:date>2019-09-10T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/788416#M4415</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try this CALCULATE( SUM(sales); DATEMTD(dim_date[Fecha]) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:23:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/788416#M4415</guid>
      <dc:creator>bestevez</dc:creator>
      <dc:date>2019-09-10T14:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789202#M4442</link>
      <description>&lt;P&gt;Below Measure can be used -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cumulative_Sum = CALCULATE(SUM(TableName[Sales]),FILTER(ALL(TableName),TableName[DateCol] &amp;lt;= MAX(TableName[DateCol])))&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:20:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789202#M4442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-11T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789219#M4445</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I can't select the day and accumulate it. What makes me that measure is to give me the cumulative maximum of the month, but, if I select a day gives me the value of that day selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:35:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789219#M4445</guid>
      <dc:creator>bestevez</dc:creator>
      <dc:date>2019-09-11T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789251#M4449</link>
      <description>&lt;P&gt;With the measure, it will show the cumulative sum upto the date selected.&lt;/P&gt;&lt;P&gt;Sorry I dont understand clearly what you are trying achieve. Can you provide an example.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:53:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789251#M4449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-11T09:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789259#M4450</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example i want to select a day 7, 14, 21 and 30 or 31 and see a cumulative sales of a month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;I got it with this measure CALCULATE( SUM( sales ); DATESMTD( date[date] ) )&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:59:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789259#M4450</guid>
      <dc:creator>bestevez</dc:creator>
      <dc:date>2019-09-11T09:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789302#M4454</link>
      <description>&lt;P&gt;The measure you are using will work only for a month if you have dates for more than a month. The cumulative sum will start afresh as you are using MTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using the measure I gave, it should work for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 10:46:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789302#M4454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-11T10:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dax sum cumulative by selected day for month and year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789307#M4455</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Your measure adds a cumulative from the beginning of the data and not from what was selected.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 10:56:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-sum-cumulative-by-selected-day-for-month-and-year/m-p/789307#M4455</guid>
      <dc:creator>bestevez</dc:creator>
      <dc:date>2019-09-11T10:56:54Z</dc:date>
    </item>
  </channel>
</rss>

