<?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: Running total by Month/Day for ItemNumber, Color, Size in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163121#M378961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nestor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood, I don't think you need an AsOf table. Please have a look at the script of the attached application. Now you have a Period Dimension generated only with the dates from the Transaction table (ATTENTION: as I didn't have your Transaction QVD, I saved an Excel file to be my data source, so if you will consider my script, please change back this part of your script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, now with the date of the transactions in diferent format, you can agregate them in diferent ways. Please have a look at the pivot table chart in the second tab of the aplication: with groups now you can have running totals by month (MMMYYYY format) and by day (MM/DD/YYYY) or in any other format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an hierarchy group I also created the dimension of items aggregating by Location, then by color, then by sise then by item ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it what you need? Sorry my english, it's worse than I thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 14:14:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-01T14:14:23Z</dc:date>
    <item>
      <title>Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163117#M378957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i need help in setting up a running total for month and Day and have the ability to drill down from Item Number to Color to SIze.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can&amp;nbsp; anybody point me in the right direction?&amp;nbsp; Ideas?&amp;nbsp; not sure where to start&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 19:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163117#M378957</guid>
      <dc:creator>nramirez</dc:creator>
      <dc:date>2016-05-27T19:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163118#M378958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nestor Ramirez!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if I understood your needs. If not, please excuse me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView, if you need drill, you have to use Groups! When setting Dimensions, you have to create a group of dimensions and then you have to use the group in place of the dimension. Please see the QV manual to learn how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached your QVW updated with a group I created with ItemID -&amp;gt; Color -&amp;gt; Size in the Pivot Table called "QTY WIthout Running Totals with Group" in the "Copy of Transaction History" tab. To drill down you heve just to click on ItemID, then on a ColorID and then on a SizeID. To drill up use the arrow on dimension header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 21:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163118#M378958</guid>
      <dc:creator />
      <dc:date>2016-05-27T21:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163119#M378959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 22:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163119#M378959</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-27T22:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163120#M378960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the feedback. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current need is to create a running total by month which I have up and running, but i also need to create a running total by day.&amp;nbsp; I'm unsure how to add it to my script so i can have my month running total and Day running total.&amp;nbsp; I'm using the As of table for the month, but that's were i got stuck and not sure how to apply the day using the as of.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 16:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163120#M378960</guid>
      <dc:creator>nramirez</dc:creator>
      <dc:date>2016-05-31T16:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163121#M378961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nestor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood, I don't think you need an AsOf table. Please have a look at the script of the attached application. Now you have a Period Dimension generated only with the dates from the Transaction table (ATTENTION: as I didn't have your Transaction QVD, I saved an Excel file to be my data source, so if you will consider my script, please change back this part of your script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, now with the date of the transactions in diferent format, you can agregate them in diferent ways. Please have a look at the pivot table chart in the second tab of the aplication: with groups now you can have running totals by month (MMMYYYY format) and by day (MM/DD/YYYY) or in any other format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an hierarchy group I also created the dimension of items aggregating by Location, then by color, then by sise then by item ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it what you need? Sorry my english, it's worse than I thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 14:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163121#M378961</guid>
      <dc:creator />
      <dc:date>2016-06-01T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163122#M378962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only thing missing from your solution is that i need the qty's to show the running total.&amp;nbsp; for example in the solution you attached&amp;nbsp; and if you do a filter for 990001-CHIN14 for my month the running total is -800&amp;nbsp; (100 + -900 = -800) where in your solution you have -900 which is what the transaction shows for 4/29/2015.&amp;nbsp; I need the qty to be a running total by month or day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if the running total by day was working i would expect to see 4/29/2016 of -800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-06-06_11-47-21.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126990_2016-06-06_11-47-21.jpg" style="width: 620px; height: 285px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 18:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163122#M378962</guid>
      <dc:creator>nramirez</dc:creator>
      <dc:date>2016-06-06T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163123#M378963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nestor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the attached and please say me if now its what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 04:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163123#M378963</guid>
      <dc:creator />
      <dc:date>2016-06-07T04:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163124#M378964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow, thank you for the help with this.&amp;nbsp; It is giving me the correct information, would there be a way to not show the qty daily but only when there's a transaction. for example&amp;nbsp; my starting qty in March is 100 and the next transaction occur in april 29th, however i'm seeing 100 for all days leading to april 29.&amp;nbsp; would there be a way to only see the 100 for March 13 and then have Zero or blank until April 29th when it creates a -800 because of the running total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this makes sense..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its amazing how much i still don't know about Qlik..&amp;nbsp; Thanks for all this Marcello.&amp;nbsp; I really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-06-07_6-43-25.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127101_2016-06-07_6-43-25.jpg" style="width: 620px; height: 207px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 13:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163124#M378964</guid>
      <dc:creator>nramirez</dc:creator>
      <dc:date>2016-06-07T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running total by Month/Day for ItemNumber, Color, Size</title>
      <link>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163125#M378965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hi Nestor!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I think that now I'm going to owe you! I'm an initiate too. What I can do now is try to explain the solution: as you can see in the script, I implemented the concept of AsOf table for Month and for Days (as you initialy asked for). This concept creates an extra dimension of dates FROM the Period dimension. If you want to use these AsOf dimension in your chart/table, for each day between the transaction days you will have the value repeated. If you can observe, this happens to the asof_month too. And this happens because the two AsOf tables are linked to the Period table and not to the Transaction table (type CTRL+T to see the table diagram).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I think that you can close this thread as answered &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; or set as Helpfull or just click "Like" if you think so. If you mark as answered, you can open another, asking someone to help you in this new situation that you are now. Of sure a "top" member will help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 18:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-total-by-Month-Day-for-ItemNumber-Color-Size/m-p/1163125#M378965</guid>
      <dc:creator />
      <dc:date>2016-06-07T18:53:25Z</dc:date>
    </item>
  </channel>
</rss>

