<?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 doesn't return values unless the input object is open in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588338#M1114101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Yuehan,&lt;/P&gt;&lt;P&gt;Possible to attach a sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 19:26:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-14T19:26:16Z</dc:date>
    <item>
      <title>Variable doesn't return values unless the input object is open</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588337#M1114100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little background:&lt;/P&gt;&lt;P&gt;I'm trying to create a function that basically allows me to switch a report between a $ view (PMPM) and a % view (Admin Rate). These two views require different denominators, which can be indexed as 1 or 2. What I want to do is to select between PMPM and Admin Rate, and have a variable that returns 1 or 2, so that I can use the variable as the denominator in my set analysis formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 212px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="85"&gt;Grp4Options&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="127"&gt;Grp4OptionDescrip&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PMPM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Admin Rate&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up a variable as below, which works sometimes, but....&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vOptionGrp4&lt;/STRONG&gt;=FieldValue('Grp4Options',FieldIndex('Grp4OptionDescrip',Grp4OptionDescrip))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me a random event that sometimes the variable won't return any value, then I find out that if, &lt;STRONG&gt;on the same sheet,&lt;/STRONG&gt; I have a input object open that shows the variable and it's value, it works perfectly (at least so far....). But as long as I delete or even just minimize that object, the variable stops working again. I have another input object on another sheet that shows this variable as well, but it doesn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone happen seen the same issue before? Any thoughts what could be the issue?&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>Fri, 14 Feb 2014 19:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588337#M1114100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-14T19:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variable doesn't return values unless the input object is open</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588338#M1114101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Yuehan,&lt;/P&gt;&lt;P&gt;Possible to attach a sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 19:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588338#M1114101</guid>
      <dc:creator />
      <dc:date>2014-02-14T19:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variable doesn't return values unless the input object is open</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588339#M1114102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to tell without the QVW file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CB.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 19:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588339#M1114102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-14T19:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable doesn't return values unless the input object is open</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588340#M1114103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry my file is too complicated to share. I think it might have something to do with the alternate states I'm using. Is there a way to specify this variable in one state? Something like we can put {[Group1]} in a set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 20:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-doesn-t-return-values-unless-the-input-object-is-open/m-p/588340#M1114103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-14T20:09:26Z</dc:date>
    </item>
  </channel>
</rss>

