<?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: People Accumulation in a Restaurant in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819466#M1033099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;That is what I need, but the solution Marco Wedel gave it's even better!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 18:16:16 GMT</pubDate>
    <dc:creator>cristian_av</dc:creator>
    <dc:date>2015-02-04T18:16:16Z</dc:date>
    <item>
      <title>People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819458#M1033091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have hundreds of records. Each one represents the time when somebody gets into a restaurant.&lt;/P&gt;&lt;P&gt;I need to know how many people is inside the place by minute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I don't when people goes out the restaurant, according to manual timing, people remains inside for about 45 minutes.&lt;/P&gt;&lt;P&gt;So I need to get the accumulate of the count of people for 45 minutes back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tryied using "accumulated 45 steps back" in the graph, but the dimensions are repeated, so I have multiple times the same HH:mm&lt;/P&gt;&lt;P&gt;i.e.: 00:12, 00:12, 00:12, 00:12, 00:13, 00:13 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should get a graphs like this: &lt;STRONG&gt;(Made with VBA/Excel)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Accumulated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77031_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entries by minute:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/77032_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope somebody can help me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 20:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819458#M1033091</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2015-02-03T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819459#M1033092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the in-built accumulation in Expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819459#M1033092</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-02-03T21:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819460#M1033093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Date, use the function Floor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819460#M1033093</guid>
      <dc:creator />
      <dc:date>2015-02-03T21:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819461#M1033094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cristian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file - is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid multiplying dimension values I converted them to text (this is done inside script).&lt;/P&gt;&lt;P&gt;I also created "Client" column to count clients easier - now I can just SUM this column (Sum is faster than Count, so whenever you can better use Sum).&lt;/P&gt;&lt;P&gt;In the chart "Properties -&amp;gt; Expressions" I changed expression and turned on Accumulate 45 steps back. On "Presentation" tab I checked "Enable X-Axis Scrollbar".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will be helpful for you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bartek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819461#M1033094</guid>
      <dc:creator />
      <dc:date>2015-02-03T21:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819462#M1033095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's preferable to round() the hh:mm values, rather than text(). This allow for using a continuous axis if desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; time(round(frac(TRANSIT_DATE),(1/1440)),'hh:mm') as [HH:mm]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 22:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819462#M1033095</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-02-03T22:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819463#M1033096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_150637_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77052_QlikCommunity_Thread_150637_Pic1.JPG" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_150637_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/77053_QlikCommunity_Thread_150637_Pic2.JPG" style="height: 315px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_150637_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/77054_QlikCommunity_Thread_150637_Pic3.JPG" style="height: 549px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_150637_Pic4.JPG" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/77055_QlikCommunity_Thread_150637_Pic4.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14230048280967951 jive_text_macro jive_macro_code" jivemacro_uid="_14230048280967951"&gt;
&lt;P&gt;tabRestVisits:&lt;/P&gt;
&lt;P&gt;LOAD CAS_TRANSIT_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp(Floor(TRANSIT_DATE,1/1440),'DD-MM-YYYY hh:mm') as TRANSIT_DATE&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="147813" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2003-150637-706689-147813/Example+Data.xlsm"&gt;http://community.qlik.com/servlet/JiveServlet/download/706689-147813/Example%20Data.xlsm&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Hoja1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Floor(Frac(TRANSIT_DATE),1/1440),'hh:mm') as [HH:mm],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minute(TRANSIT_DATE) as Minute,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(TRANSIT_DATE) as Hour,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(TRANSIT_DATE) as Day,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(TRANSIT_DATE) as WeekDay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(TRANSIT_DATE) as Week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(TRANSIT_DATE) as WeekName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(TRANSIT_DATE) as Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(TRANSIT_DATE) as MonthName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q'&amp;amp;Ceil(Month(TRANSIT_DATE)/3),Ceil(Month(TRANSIT_DATE)/3)) as Quarter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(TRANSIT_DATE) as QuarterName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(TRANSIT_DATE) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekYear(TRANSIT_DATE) as WeekYear;&lt;/P&gt;
&lt;P&gt;LOAD Timestamp(MinDateTime+(IterNo()-1)/1440) as TRANSIT_DATE&lt;/P&gt;
&lt;P&gt;While MinDateTime+(IterNo()-1)/1440&amp;lt;=MaxDateTime;&lt;/P&gt;
&lt;P&gt;LOAD Min(TRANSIT_DATE) as MinDateTime,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(TRANSIT_DATE) as MaxDateTime&lt;/P&gt;
&lt;P&gt;Resident tabRestVisits;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matrco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 23:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819463#M1033096</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-03T23:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819464#M1033097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to analyze the effect of different mean visit durations you could extend this solution like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77058" alt="QlikCommunity_Thread_150637_Pic6.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/77058_QlikCommunity_Thread_150637_Pic6.JPG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77057" alt="QlikCommunity_Thread_150637_Pic5.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/77057_QlikCommunity_Thread_150637_Pic5.JPG" style="font-size: 10pt; line-height: 1.5em; height: 303px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77059" alt="QlikCommunity_Thread_150637_Pic7.JPG" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/77059_QlikCommunity_Thread_150637_Pic7.JPG" style="height: 304px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77056" alt="QlikCommunity_Thread_150637_Pic8.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77056_QlikCommunity_Thread_150637_Pic8.JPG" style="height: 339px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 23:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819464#M1033097</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-03T23:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819465#M1033098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amazing! That's exactly what I need.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 18:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819465#M1033098</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2015-02-04T18:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819466#M1033099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;That is what I need, but the solution Marco Wedel gave it's even better!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 18:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819466#M1033099</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2015-02-04T18:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: People Accumulation in a Restaurant</title>
      <link>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819467#M1033100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 19:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/People-Accumulation-in-a-Restaurant/m-p/819467#M1033100</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-04T19:11:00Z</dc:date>
    </item>
  </channel>
</rss>

