<?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: Production times visualisation / Visualisation des temps de production in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312826#M407882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guillaume,&lt;/P&gt;&lt;P&gt;Don't apologise for your English, I'm sure it's much better than my French!&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;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Num(Floor([Start date])) + Num([Start time]) as Start,&lt;/P&gt;&lt;P&gt;Num(Floor([Stop date])) + Num([Stop time]) as Stop;&lt;/P&gt;&lt;P&gt;LOAD [Start date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time([Start time]) as [Start time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Stop date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time([Stop time]) as [Stop time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Production&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book1.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Min(Start) as StartPoint,Max(Stop) as StopPoint Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStart = Peek('StartPoint',0,'Temp');&lt;/P&gt;&lt;P&gt;Let vStop = Peek('StopPoint',0,'Temp');&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let NoOfMin = ($(vStop)-$(vStart))*24*60 +1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Master Clock]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Timestamp(Temp_Time) as [Clock Time];&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(vStart) +&amp;nbsp; (IterNo()-1)/24/60 as Temp_Time&lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(vStart) + (IterNo()-1)/24/60&amp;lt;=&amp;nbsp; $(vStop);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch:&lt;/P&gt;&lt;P&gt;IntervalMatch( [Clock Time]) LOAD Start,Stop Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can make this bar chart. dimension [Clock Time], expression:1&lt;/P&gt;&lt;P&gt;Background color : if(Production=1,Green(),Red())&lt;/P&gt;&lt;P&gt;Set the dimension axis to be continuous in the Axes tab.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="times.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171822_times.jpg" style="height: 180px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jul 2017 13:21:17 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2017-07-29T13:21:17Z</dc:date>
    <item>
      <title>Production times visualisation [Solved] / Visualisation des temps de production [Résolu]</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312825#M407881</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;&lt;/P&gt;&lt;P&gt;First, sorry for my english &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table looking like this :&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="171773" alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171773_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to create a graph, per selected period, looking like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="171772" alt="Sans titre.png" class="jive-image image-1" src="/legacyfs/online/171772_Sans titre.png" style="height: 119px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Looks simple but i'm not able to find the solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En français rapidemment...&lt;/P&gt;&lt;P&gt;J'aimerai transformer le premier tableau en graphique juste en dessous &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci d'avance pour votre aide !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312825#M407881</guid>
      <dc:creator />
      <dc:date>2017-07-28T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Production times visualisation / Visualisation des temps de production</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312826#M407882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guillaume,&lt;/P&gt;&lt;P&gt;Don't apologise for your English, I'm sure it's much better than my French!&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;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Num(Floor([Start date])) + Num([Start time]) as Start,&lt;/P&gt;&lt;P&gt;Num(Floor([Stop date])) + Num([Stop time]) as Stop;&lt;/P&gt;&lt;P&gt;LOAD [Start date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time([Start time]) as [Start time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Stop date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time([Stop time]) as [Stop time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Production&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book1.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Min(Start) as StartPoint,Max(Stop) as StopPoint Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStart = Peek('StartPoint',0,'Temp');&lt;/P&gt;&lt;P&gt;Let vStop = Peek('StopPoint',0,'Temp');&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let NoOfMin = ($(vStop)-$(vStart))*24*60 +1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Master Clock]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Timestamp(Temp_Time) as [Clock Time];&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(vStart) +&amp;nbsp; (IterNo()-1)/24/60 as Temp_Time&lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(vStart) + (IterNo()-1)/24/60&amp;lt;=&amp;nbsp; $(vStop);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch:&lt;/P&gt;&lt;P&gt;IntervalMatch( [Clock Time]) LOAD Start,Stop Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can make this bar chart. dimension [Clock Time], expression:1&lt;/P&gt;&lt;P&gt;Background color : if(Production=1,Green(),Red())&lt;/P&gt;&lt;P&gt;Set the dimension axis to be continuous in the Axes tab.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="times.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171822_times.jpg" style="height: 180px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 13:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312826#M407882</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-29T13:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Production times visualisation / Visualisation des temps de production</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312827#M407883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer !&lt;/P&gt;&lt;P&gt;I've got a "script error' anyway :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script line error :&lt;/P&gt;&lt;P&gt;Let NoOfMin=(42938,208333333-42937.208333333)*24*60+1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171905_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea... ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 08:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312827#M407883</guid>
      <dc:creator />
      <dc:date>2017-07-31T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Production times visualisation / Visualisation des temps de production</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312828#M407884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guillaume,&lt;/P&gt;&lt;P&gt;There seems to be an inconsistency in your timestamp formatting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let NoOfMin=(42938,208333333-42937.208333333)*24*60+1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;42938,208333333 comma decimal separator&lt;/P&gt;&lt;P&gt;42937.208333333 period decimal separator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can iron that out it might work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW I can't speak French but I like France and watched Truffaut's The 400 Blows (&lt;EM style="color: #222222; font-family: sans-serif; font-size: 14px;"&gt;Les Quatre Cents Coups&lt;/EM&gt;) on Saturday. What a great movie!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312828#M407884</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-31T09:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Production times visualisation / Visualisation des temps de production</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312829#M407885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;I think i undersood the trick.&lt;/P&gt;&lt;P&gt;I just "rounded" the value to have only "42938" and "42937".&lt;/P&gt;&lt;P&gt;And here it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help Andrew !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish you lot of good things &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 10:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312829#M407885</guid>
      <dc:creator />
      <dc:date>2017-07-31T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Production times visualisation / Visualisation des temps de production</title>
      <link>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312830#M407886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Guillaume!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 12:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Production-times-visualisation-Solved-Visualisation-des-temps-de/m-p/1312830#M407886</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-31T12:10:22Z</dc:date>
    </item>
  </channel>
</rss>

