<?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: Issue with a variable not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7283#M576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Micha! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was because of the "=" in the variable definition... I thought we should always use it but I was wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sofia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 15:56:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-25T15:56:09Z</dc:date>
    <item>
      <title>Issue with a variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7281#M574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression that is working exactly as I want while it is in a text box. However, when I define the expression as a variable it stops working! Do you have any idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(OrdItemInsDt)&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; (if(GetFieldSelections(OrdItemInsDt)&amp;lt;7,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(min(OrdItemInsDt))&amp;amp; ' to ' &amp;amp; date(max(OrdItemInsDt)), &lt;/P&gt;&lt;P&gt;&amp;nbsp; (if(Left(GetFieldSelections(OrdItemInsDt),3) = '',&lt;/P&gt;&lt;P&gt;&amp;nbsp; max({&amp;lt;Year-={$(=SubField(GetFieldSelections(OrdItemInsDt),'',2))}&amp;gt;} OrdItemInsDt),&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(min(OrdItemInsDt)))&amp;amp; ' to ' &amp;amp; if(Left(GetFieldSelections(OrdItemInsDt),3) = '',&lt;/P&gt;&lt;P&gt;&amp;nbsp; max({&amp;lt;Year-={$(=SubField(GetFieldSelections(OrdItemInsDt),'',2))}&amp;gt;} OrdItemInsDt),&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(max(OrdItemInsDt)))))),&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vLastInsDtWeek))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7281#M574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7282#M575</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;It could be an issue around using "=" in the variable definition window and using/not using the $ expansion in your expression window. Could you confirm how you are initiating the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Micha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7282#M575</guid>
      <dc:creator>kuczynska</dc:creator>
      <dc:date>2018-01-25T15:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7283#M576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Micha! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was because of the "=" in the variable definition... I thought we should always use it but I was wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sofia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-a-variable-not-working/m-p/7283#M576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T15:56:09Z</dc:date>
    </item>
  </channel>
</rss>

