<?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 Show opening hours in map in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624268#M1106004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I have a listbox with openingshours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;06.00-24.00&lt;/P&gt;&lt;P&gt;06.30-16.00&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a green/red light if the current store is open right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i will make a Gauge chart and change the look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is possible to read the current time and check if the store i open and then have a green/red light if it open or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 12:46:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-26T12:46:51Z</dc:date>
    <item>
      <title>Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624268#M1106004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I have a listbox with openingshours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;06.00-24.00&lt;/P&gt;&lt;P&gt;06.30-16.00&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a green/red light if the current store is open right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i will make a Gauge chart and change the look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is possible to read the current time and check if the store i open and then have a green/red light if it open or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624268#M1106004</guid>
      <dc:creator />
      <dc:date>2014-03-26T12:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624269#M1106005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find current time using function now(), for example:&lt;/P&gt;&lt;P&gt;=timestamp(frac(now()), 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;The problem with this approach is that the function checks time every second, hence consumes CPU.&amp;nbsp; You can use it with the parameter:&lt;BR /&gt;now(2)&lt;BR /&gt;In this case it shows time of the document opening.&amp;nbsp; No checking every second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624269#M1106005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-26T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624270#M1106006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i have found that. But how can i compare the current timestamp i have it in HH:MM, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now i want to se if that is between the list box i have, as example 07.00-16.00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624270#M1106006</guid>
      <dc:creator />
      <dc:date>2014-03-26T14:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624271#M1106007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it was me, I would separate the times so you have an opening time dimension, and a closing time dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in the visual cues, you could write an expression (maybe an IF function), saying if 'now' is bigger than opening time, and less than closing time show as green.&amp;nbsp;&amp;nbsp; If not show as red.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624271#M1106007</guid>
      <dc:creator>ljackson</dc:creator>
      <dc:date>2014-03-26T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624272#M1106008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok! I can for sure separate the times. So i have two dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time(Now(1)) gives me the current time in HH:MM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i write a if statement to check if the currenttime is between opening and closing hour?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A big thank you!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624272#M1106008</guid>
      <dc:creator />
      <dc:date>2014-03-27T07:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624273#M1106009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(time(now(1))&amp;gt;Open AND time(now(1)&amp;lt;Close, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my guess, but that does not work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 08:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624273#M1106009</guid>
      <dc:creator />
      <dc:date>2014-03-27T08:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624274#M1106010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logic is correct .&amp;nbsp; It should work if the store is the dimension.&lt;/P&gt;&lt;P&gt;Can you upload an example of your application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 10:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624274#M1106010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-27T10:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624275#M1106011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[MM] indicates a two-digit month of the year&lt;/P&gt;&lt;P&gt;[mm] refers to a zero-padded minute between 00 and 59&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 11:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624275#M1106011</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-03-27T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624276#M1106012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=time(Frac(now(1)))&amp;gt;Open AND time(Frac(now(1)))&amp;lt;Close AND PRU = 'A' AND AREA = 'B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know have this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want the graph to show for PRU A and AREA B without any choices in the listboxes, But this does not work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624276#M1106012</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show opening hours in map</title>
      <link>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624277#M1106013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing a little bit now, as I can't access my QV at the moment to test it, but I would say you need a expression similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=time(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;Pru={'A'}, Area={'B'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Frac(now(1))&amp;gt;Open AND time(Frac(now(1))&amp;lt;Close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second line shows that for the selection, only show records where Pru=A and Area=B, from this data set the third line will calculate.&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 src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 12:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-opening-hours-in-map/m-p/624277#M1106013</guid>
      <dc:creator>ljackson</dc:creator>
      <dc:date>2014-03-31T12:39:21Z</dc:date>
    </item>
  </channel>
</rss>

