<?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: is the store open? If-statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569429#M1104997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added an extra '(' on accident:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;{&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}&lt;/SPAN&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 14:48:53 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-03-27T14:48:53Z</dc:date>
    <item>
      <title>is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569421#M1104989</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;I just got some help, but i need some more &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 the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&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 have two list boxes also whitch show PRU and AREA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have several gauge chart showing the different PRU and AREAS and if they are open or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i wanna have one for PRU A and AREA A, Then one for PRU A and AREA B etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want to make any selection within this application. I want the user just to see if the store i open right now or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work atm. If i choose PRU A and AREA B in the listbox i get the right answer (-1 for open and 0 for closed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 11:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569421#M1104989</guid>
      <dc:creator />
      <dc:date>2014-03-27T11:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569422#M1104990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this i guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;AREA={"B"&amp;gt;} time(Frac(now(1)))&amp;gt;Open AND time(Frac(now(1)))&amp;lt;Close)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want PRU aswell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569422#M1104990</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569423#M1104991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you would need a straight or pivot table as you don't have to make any selections and could have a mini gauge chart for the open/close field. you think you can provide sample file/data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569423#M1104991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-27T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569424#M1104992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't i just make pre selections in the expression? Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;AREA={"B"&amp;gt;} time(Frac(now(1)))&amp;gt;Open AND time(Frac(now(1)))&amp;lt;Close)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use Sum but i want it only to check for AREA B and PRU A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve it with Pivot and/or Straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569424#M1104992</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569425#M1104993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi have a look at the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this what you are looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569425#M1104993</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-03-27T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569426#M1104994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want an expression for each combination of PRU and Area for different gauges? Try wrapping the Close and Open fields with only and set analysis like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;({&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}&lt;/SPAN&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Then you can do the same for the others:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;STRONG&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569426#M1104994</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-27T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569427#M1104995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but there is error in expression, so i can't try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yes, I want different gauge chart showing green och red light for each PRU A AREA A, PRU A AREA B etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569427#M1104995</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569428#M1104996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, can't open, im on a private license &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:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569428#M1104996</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569429#M1104997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added an extra '(' on accident:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;{&amp;lt;PRU={'A'}, AREA = {'A'}&amp;gt;}&lt;/SPAN&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;time(Frac(now(1)))&amp;gt;only({&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}Open) AND time(Frac(now(1)))&amp;lt;only(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;{&amp;lt;PRU={'A'}, AREA = {'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;B&lt;/SPAN&gt;'}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.727272033691406px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Close)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569429#M1104997</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-27T14:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569430#M1104998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the screen shot&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="56048" alt="Picture1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56048_Picture1.jpg" style="max-width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569430#M1104998</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-03-27T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: is the store open? If-statements</title>
      <link>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569431#M1104999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it, it was just an ( to much. I think you solution works. Will try a bit more!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-the-store-open-If-statements/m-p/569431#M1104999</guid>
      <dc:creator />
      <dc:date>2014-03-27T14:51:33Z</dc:date>
    </item>
  </channel>
</rss>

