<?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 accumulated amounts problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/accumulated-amounts-problem/m-p/636498#M1090952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have attached the sample data in which i have to first figure out the actual sale of each company of each date.&lt;/P&gt;&lt;P&gt;Each company has different stores and we have the amounts numbers at the end of each hour for each store. so for any particular date we can subtract the amounts of maximum hour e.g. 3 with the minimum hours, e.g 1. and when we have all the amounts store wise then we can sum them up to have the amounts at company wise. and we need the simple bar chart showing each company and date wise amounts.&lt;/P&gt;&lt;P&gt;Need your input on how to first build that data as, i guess, showing this in graph would be simple if i manage to build data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 20:36:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-02T20:36:35Z</dc:date>
    <item>
      <title>accumulated amounts problem</title>
      <link>https://community.qlik.com/t5/QlikView/accumulated-amounts-problem/m-p/636498#M1090952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have attached the sample data in which i have to first figure out the actual sale of each company of each date.&lt;/P&gt;&lt;P&gt;Each company has different stores and we have the amounts numbers at the end of each hour for each store. so for any particular date we can subtract the amounts of maximum hour e.g. 3 with the minimum hours, e.g 1. and when we have all the amounts store wise then we can sum them up to have the amounts at company wise. and we need the simple bar chart showing each company and date wise amounts.&lt;/P&gt;&lt;P&gt;Need your input on how to first build that data as, i guess, showing this in graph would be simple if i manage to build data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulated-amounts-problem/m-p/636498#M1090952</guid>
      <dc:creator />
      <dc:date>2014-06-02T20:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: accumulated amounts problem</title>
      <link>https://community.qlik.com/t5/QlikView/accumulated-amounts-problem/m-p/636499#M1090953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Skhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to load data wit this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='YYYY-M-D';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='YYYY-M-D h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1:&lt;/P&gt;&lt;P&gt;LOAD company, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [accumulated Sale]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="109224" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2003-120596-540108-109224/accumulated+sale.xlsx"&gt;http://community.qlik.com/servlet/JiveServlet/download/540108-109224/accumulated%20sale.xlsx&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab2:&lt;/P&gt;&lt;P&gt;load company, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (company&amp;amp;'#'&amp;amp;store=Previous(company&amp;amp;'#'&amp;amp;store), [accumulated Sale]-Previous([accumulated Sale]),[accumulated Sale]) as sale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident tab1 Order by&amp;nbsp; company, store, date, time;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop table tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 21:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulated-amounts-problem/m-p/636499#M1090953</guid>
      <dc:creator />
      <dc:date>2014-06-02T21:19:06Z</dc:date>
    </item>
  </channel>
</rss>

