<?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 Cumulative total by store and date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2578572#M73918</link>
    <description>&lt;P&gt;I've been searching and can't seem to get this to work.. Fairly new to Power BI and DAX.&lt;/P&gt;&lt;P&gt;I have a table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create cumulative totals for the pallets by store and date.&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Running_Total_Pallets_Built =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Pallets Built'[PALLETS]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLEXCEPT('Pallets Built','Pallets Built'[STORENUMBER])&lt;BR /&gt;,'Pallets Built'[STAGEDDATE] &amp;lt;= MAX('Pallets Built'[STAGEDDATE])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/DIV&gt;&lt;DIV&gt;but the result returns the total number all pallets built for that day for all stores:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&lt;SPAN&gt;My running total for store 12 should show:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jan 4 - 2&lt;/P&gt;&lt;P&gt;Jan 5 - 4&lt;/P&gt;&lt;P&gt;Jan 6 - 5&lt;/P&gt;&lt;P&gt;Jan 7 - 6&lt;/P&gt;&lt;P&gt;Jan 8 - 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be the same for the next store as well:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store 13 should be:&lt;/P&gt;&lt;P&gt;Jan 4 - 2&lt;/P&gt;&lt;P&gt;Jan 5 - 4&lt;/P&gt;&lt;P&gt;Jan 6 - 5&lt;/P&gt;&lt;P&gt;Jan 7 - 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so on....&lt;/P&gt;&lt;P&gt;I've applied the following filters, which should be available when I publish as well:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;Appreciate any help to get the last piece of the puzzle solved for this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Jun 2022 20:21:45 GMT</pubDate>
    <dc:creator>ekroll</dc:creator>
    <dc:date>2022-06-14T20:21:45Z</dc:date>
    <item>
      <title>Cumulative total by store and date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2578572#M73918</link>
      <description>&lt;P&gt;I've been searching and can't seem to get this to work.. Fairly new to Power BI and DAX.&lt;/P&gt;&lt;P&gt;I have a table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create cumulative totals for the pallets by store and date.&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Running_Total_Pallets_Built =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Pallets Built'[PALLETS]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLEXCEPT('Pallets Built','Pallets Built'[STORENUMBER])&lt;BR /&gt;,'Pallets Built'[STAGEDDATE] &amp;lt;= MAX('Pallets Built'[STAGEDDATE])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/DIV&gt;&lt;DIV&gt;but the result returns the total number all pallets built for that day for all stores:&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&lt;SPAN&gt;My running total for store 12 should show:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jan 4 - 2&lt;/P&gt;&lt;P&gt;Jan 5 - 4&lt;/P&gt;&lt;P&gt;Jan 6 - 5&lt;/P&gt;&lt;P&gt;Jan 7 - 6&lt;/P&gt;&lt;P&gt;Jan 8 - 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be the same for the next store as well:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store 13 should be:&lt;/P&gt;&lt;P&gt;Jan 4 - 2&lt;/P&gt;&lt;P&gt;Jan 5 - 4&lt;/P&gt;&lt;P&gt;Jan 6 - 5&lt;/P&gt;&lt;P&gt;Jan 7 - 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so on....&lt;/P&gt;&lt;P&gt;I've applied the following filters, which should be available when I publish as well:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;Appreciate any help to get the last piece of the puzzle solved for this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jun 2022 20:21:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2578572#M73918</guid>
      <dc:creator>ekroll</dc:creator>
      <dc:date>2022-06-14T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative total by store and date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2578582#M73919</link>
      <description>&lt;P&gt;Well, I feel a fool... I started to look at the table visual again and realized that I was pulling in store number from a different table... they are connected via the store-date relationship, but it appears that once I removed the store number from the other (it's the capacity table) and dropped in the store number from the pallets built table, it now seems to be working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 20:35:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2578582#M73919</guid>
      <dc:creator>ekroll</dc:creator>
      <dc:date>2022-06-14T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative total by store and date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2585256#M74330</link>
      <description>&lt;P&gt;Hi，&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="401179" data-lia-user-login="ekroll" class="lia-mention lia-mention-user"&gt;ekroll&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your problem has been solved, please accept your reply as solution to close this thread, so that other community members will easily find the solution when they get the same issue.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 09:33:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-by-store-and-date/m-p/2585256#M74330</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-06-17T09:33:29Z</dc:date>
    </item>
  </channel>
</rss>

