<?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 variables do not work as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240339#M90877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try min value - 36526&lt;/P&gt;&lt;P&gt;and max value - 2593588&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Renjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Mar 2011 10:08:19 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2011-03-05T10:08:19Z</dc:date>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240335#M90873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I working on creating variable on calender box&lt;/P&gt;&lt;P&gt;This what i ahve done:&lt;/P&gt;&lt;P&gt;1.Created 2 variable vStart and vEnd&lt;/P&gt;&lt;P&gt;2.Created triggers for - Select in Field , field name "day_date" and search criteria : Added the below criteria for vStart and vEnd for on Input and On change actions&lt;/P&gt;&lt;P&gt;='&amp;gt;=' &amp;amp; &lt;B&gt;&lt;I&gt;vStart&lt;/I&gt;&lt;/B&gt; &amp;amp; '&amp;lt;=' &amp;amp; &lt;B&gt;&lt;I&gt;vEnd&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;H4&gt;3.Created a Calender Box and assigned vStart Variable&lt;/H4&gt;&lt;H4&gt;4.Created a Calender Box and assigned vEnd Variable&lt;/H4&gt;&lt;H4&gt;What did i miss here , i dont find the DAY_DATE values reflected to selections made in the calender box ..Please Help&lt;/H4&gt;&lt;H4&gt;I tried giving Min and Max values as min(day_date) and Max(day_date) but it did not work.What should be the min and max values for the variable here &amp;gt;&lt;/H4&gt;&lt;P&gt;Please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 23:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240335#M90873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T23:47:07Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240336#M90874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you assign actions to the variables? See EnterDateFromToV9.qvw in this thread&lt;BR /&gt;&lt;A href="http://community.qlik.com/forums/p/22315/102934.aspx"&gt;http://community.qlik.com/forums/p/22315/102934.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for a working example. It uses input boxes instead of Calendars, but the set up should be the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 00:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240336#M90874</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-03-05T00:38:53Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240337#M90875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you , this works for me if i have input boxes, i replicated the same thing for calender box, but i cant select values from calender box , i mean i dont see all my calender dates.What should the min and max values for the valriables in calender box ,&lt;/P&gt;&lt;P&gt;my min value of date is 02/03/2003&lt;/P&gt;&lt;P&gt;my max value od date is 12/31/9000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 00:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240337#M90875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-05T00:56:39Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240338#M90876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob could you please suggest me with the calender boxes , not sure what i am doing wrong , may be because my date range is big or something ...it works perfect with input boxes , but not in calender question.&lt;/P&gt;&lt;P&gt;I guess i am messing up while giving the min and max values for the calender boxes ..what should be the exact min and max values for calender boxes when a variable is select , my min and max dates for the column date are 02/02/2003 and 12/31/9000,&lt;/P&gt;&lt;P&gt;please suggest ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 07:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240338#M90876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-05T07:04:31Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240339#M90877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try min value - 36526&lt;/P&gt;&lt;P&gt;and max value - 2593588&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Renjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 10:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240339#M90877</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2011-03-05T10:08:19Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240340#M90878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the above . dont understand why my date values are NOT changing according to the values i select in the calender boxes.Nothing gets selected in date values......:-(&lt;/P&gt;&lt;P&gt;Please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 18:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240340#M90878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-05T18:59:19Z</dc:date>
    </item>
    <item>
      <title>variables do not work as expected</title>
      <link>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240341#M90879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The mistake here is related to the data format. If you uncheck the "Override Document Settings" in the number properties of your list box, you can see that the format is timestamp. At the same time, the data format of the variables in selection is integer. Hence, selection doesn't work, no matching values. To fix it, one of the solutions is to change action definition to&lt;BR /&gt;='&amp;gt;=' &amp;amp; &lt;STRONG&gt;timestamp&lt;/STRONG&gt;(vStart) &amp;amp; '&amp;lt;=' &amp;amp; &lt;STRONG&gt;timestamp&lt;/STRONG&gt;(vEnd)&lt;/P&gt;&lt;P&gt;Another approach (wich I prefer) is to convert this field in the script to integer or whole date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 16:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-do-not-work-as-expected/m-p/240341#M90879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-06T16:08:08Z</dc:date>
    </item>
  </channel>
</rss>

