<?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: Variable set up issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562393#M209896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I already tried displaying the value in a straigt table and in a label for an expression, but neither of those worked consistently. Sometimes, the input boxes and the straight table even displayed different values.....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 13:04:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-11T13:04:51Z</dc:date>
    <item>
      <title>Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562391#M209894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fact table where it contains transactional details for a rolling two years, and it has a date field called EFFECTIVE_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another dimension table named MasterCalendar, where it has consecutive dates from 1/1/2010 to 12/31/2020 and the corresponding YEAR, MONTH, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two tables are linked on EFFECTIVE_DATE (field named the same, but no "join" statement used).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up a variable using Variable Overview as follow: vMaxDate=max(EFFECTIVE_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build up a multi box with Fields YEAR and MONTH (from the dimension table), and I add a inputbox to show the value of my variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thought is if I select YEAR = 2013 and MONTH= Jan, Feb, Mar as my current selection, my variable vMaxDate should = 3/31/2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While in fact, sometimes the variable returns 3/31/2013, and sometimes 12/31/2020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current selections are always the same, so I don't understand why the variable returns different values, and it seems a random event to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever had the same issue as mine? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 21:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562391#M209894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-10T21:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562392#M209895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely, either the variable isn't getting refreshed when the selection is made, or the Input Box is not being refreshed. Input boxes have all sorts of glitches like that - for example, you can enter a new value and it won't get remembered until you press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try displaying the value in a text box and see if you are getting more consistent results. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 02:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562392#M209895</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-07-11T02:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562393#M209896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I already tried displaying the value in a straigt table and in a label for an expression, but neither of those worked consistently. Sometimes, the input boxes and the straight table even displayed different values.....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 13:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562393#M209896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-11T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562394#M209897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I already tried displaying the value in a straigt table and in a label for an expression, but neither of those worked consistently. Sometimes, the input boxes and the straight table even displayed different values.....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 13:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562394#M209897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-11T13:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562395#M209898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I already tried displaying the value in a straigt table and in a label for an expression, but neither of those worked consistently. Sometimes, the input boxes and the straight table even displayed different values.....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 16:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562395#M209898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-11T16:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562396#M209899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the EFFECTIVE_DATE has the same format in both tables, and it is always the integer date, no fractions (hours, minutes).&amp;nbsp; To do this, use this in the Fact table:&lt;/P&gt;&lt;P&gt; date(floor(EFFECTIVE_DATE)) as EFFECTIVE_DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 17:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562396#M209899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-11T17:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562397#M209900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One small suggestion is do not load Date Dimension past the dates you have in the fact table unless you need it... use a sub query to load Date Dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 17:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562397#M209900</guid>
      <dc:creator />
      <dc:date>2013-07-11T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable set up issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562398#M209901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somewhat agree &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The rules for the calendar may be defind by fixed date, as in this case, or by the dates in the data.&amp;nbsp; I use sometimes a mix, for example start date is the start of the year of the eraliest transction date, and the end date is the end of the year of the latest transaction date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 17:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-set-up-issue/m-p/562398#M209901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-11T17:27:20Z</dc:date>
    </item>
  </channel>
</rss>

