<?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 Variable not variable. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-not-variable/m-p/171609#M41542</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 made this little script to see how much money you could save.And it appears that this var $(situation) is not changing at all&lt;/P&gt;&lt;P&gt;at this line : let $(situation) = FieldValue('S1',$(a)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let $(situation) = -200;&lt;/P&gt;&lt;P&gt;for a=1 to num($(count_month))&lt;BR /&gt;&lt;BR /&gt; RVNUS:&lt;BR /&gt; LOAD *,&lt;BR /&gt; DATE_PAIE as ID_Date&lt;BR /&gt; ;&lt;BR /&gt; LOAD&lt;BR /&gt; *,&lt;BR /&gt; $(situation) + MONTANT_REVENUS as S1,&lt;BR /&gt; monthstart(MonthStart($(date_depart)) + (($(a)-1)*31) ) as DATE_PAIE&lt;BR /&gt; RESIDENT REVENUS_TMP1;&lt;BR /&gt;&lt;BR /&gt;let $(situation) = FieldValue('S1',$(a)) ;&lt;BR /&gt;TRACE Nlle situation = $(situation) ;&lt;BR /&gt;TRACE $(a) ;&lt;BR /&gt;NEXT&lt;/P&gt;&lt;P&gt;I've made this, just for fun and it's not fun anymore....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Nov 2010 09:55:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-04T09:55:16Z</dc:date>
    <item>
      <title>Variable not variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-not-variable/m-p/171609#M41542</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 made this little script to see how much money you could save.And it appears that this var $(situation) is not changing at all&lt;/P&gt;&lt;P&gt;at this line : let $(situation) = FieldValue('S1',$(a)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let $(situation) = -200;&lt;/P&gt;&lt;P&gt;for a=1 to num($(count_month))&lt;BR /&gt;&lt;BR /&gt; RVNUS:&lt;BR /&gt; LOAD *,&lt;BR /&gt; DATE_PAIE as ID_Date&lt;BR /&gt; ;&lt;BR /&gt; LOAD&lt;BR /&gt; *,&lt;BR /&gt; $(situation) + MONTANT_REVENUS as S1,&lt;BR /&gt; monthstart(MonthStart($(date_depart)) + (($(a)-1)*31) ) as DATE_PAIE&lt;BR /&gt; RESIDENT REVENUS_TMP1;&lt;BR /&gt;&lt;BR /&gt;let $(situation) = FieldValue('S1',$(a)) ;&lt;BR /&gt;TRACE Nlle situation = $(situation) ;&lt;BR /&gt;TRACE $(a) ;&lt;BR /&gt;NEXT&lt;/P&gt;&lt;P&gt;I've made this, just for fun and it's not fun anymore....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 09:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-not-variable/m-p/171609#M41542</guid>
      <dc:creator />
      <dc:date>2010-11-04T09:55:16Z</dc:date>
    </item>
    <item>
      <title>Variable not variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-not-variable/m-p/171610#M41543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try declare your variable:&lt;/P&gt;&lt;P&gt;LET situation = -200.&lt;/P&gt;&lt;P&gt;When use value of variable, you set $(situation):&lt;/P&gt;&lt;P&gt;$(situation) + MONTANT_REVENUS as S1,&lt;/P&gt;&lt;P&gt;When get value:&lt;/P&gt;&lt;P&gt;situation = FieldValue('S1',$(a)) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 11:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-not-variable/m-p/171610#M41543</guid>
      <dc:creator />
      <dc:date>2010-11-04T11:06:35Z</dc:date>
    </item>
  </channel>
</rss>

