<?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 Multi value Slider variables in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280614#M587587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You should include both conditions inside {}&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;TimeStampValue = {'&amp;gt;$(=($(vMINCurrentTime))) &amp;lt;=$(=($(vMaxCurrentTime))) '} , Q_No ={'Q1'} &amp;gt;} Resp_ID)&lt;/P&gt;&lt;P&gt;(please double check the number of parentesis in my expression)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2011 16:20:11 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-05-06T16:20:11Z</dc:date>
    <item>
      <title>Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280613#M587586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I am using a Slider (object) with Multi value with TimeStamp. I had attached the screenshot for your reference. And I am using the following expression to calculate the value for Current Hour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;COUNT({$&amp;lt;TimeStampValue = {$(=($(vMaxCurrentTime)))} , Q_No ={'Q1'} &amp;gt;} Resp_ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: verdana,geneva;"&gt;&lt;SPAN style="color: #000000;"&gt;However, I wanted to look at multiple continious hours, like 6 AM to 10 AM. I am saving the values in variables... like Minimum &amp;amp; Maximum value to calculate the time. But I am not sure on how to integrate the range in the above expression. Something like this... (Highlighted in red color for readability).&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;COUNT({$&amp;lt;TimeStampValue &amp;gt;= {$(=($(vMINCurrentTime)))} AND &lt;/STRONG&gt;&lt;STRONG&gt;TimeStampValue &amp;lt;= {$(=($(vMaxCurrentTime)))}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt; , Q_No ={'Q1'} &amp;gt;} Resp_ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: verdana,geneva;"&gt;&lt;SPAN style="color: #000000;"&gt;I hope this makes sense... &lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;IMG alt="ScreenShot.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/4039_ScreenShot.jpg" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Many thanks in anticipation!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280613#M587586</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-06T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280614#M587587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You should include both conditions inside {}&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;TimeStampValue = {'&amp;gt;$(=($(vMINCurrentTime))) &amp;lt;=$(=($(vMaxCurrentTime))) '} , Q_No ={'Q1'} &amp;gt;} Resp_ID)&lt;/P&gt;&lt;P&gt;(please double check the number of parentesis in my expression)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280614#M587587</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-06T16:20:11Z</dc:date>
    </item>
    <item>
      <title>Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280615#M587588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite... The syntax of Set Analysis Modifier is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field = {Values}, where the "equal sign" is not to define that the field is equal (or greater then) the Values, but rather to determine what to do with this selection and with the User Selections. "=" means "replace user selections with those values", other operators like "-=" and "+=" may mean subtracting or appending selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for your purpose you need to define a range in the form of a search condition (double quotes signify search):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;COUNT({$&amp;lt;TimeStampValue = {$("&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;$(vMINCurrentTime)&amp;lt;= $(vMaxCurrentTime)"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt; , Q_No ={'Q1'} &amp;gt;} Resp_ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;You also need to watch for a possible mismatch of the date/time format. Variables can only hold either formatted values or numeric values of the timestamps, but not both. The format of the variable needs to be exactly the same as the format of your field TimeStampValue.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: verdana,geneva;"&gt;&lt;STRONG&gt;Best,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280615#M587588</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-05-06T16:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280616#M587589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Oleg - Thank you very much for explanation. I will try the same and I just wanted to check if there is any range function with gets the possible values between min &amp;amp; max values... instead of using the &amp;lt;MaxValue and &amp;gt;MinValue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Thank you again for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Cheers - DV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280616#M587589</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-06T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280617#M587590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Erich &amp;amp; Oleg &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280617#M587590</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-06T16:39:13Z</dc:date>
    </item>
    <item>
      <title>Multi value Slider variables in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280618#M587591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, not that I can think of... I always use the &amp;gt;Min&amp;lt;Max approach...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 17:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-value-Slider-variables-in-Set-Analysis/m-p/280618#M587591</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-05-06T17:01:11Z</dc:date>
    </item>
  </channel>
</rss>

