<?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: Need Help with if statement and variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404844#M150652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if (($(i) = $(vNoOfRows)), set bisFrageZeilennr = $(vbishöchsteZeilennr));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set assign a value (a variable in this case) to a new variable identifier that is defined without $(..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 12:17:20 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2013-05-24T12:17:20Z</dc:date>
    <item>
      <title>Need Help with if statement and variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404843#M150651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an upper barrier which depends on a counter of lines ($(i)).&lt;/P&gt;&lt;P&gt;i Tried to set the barrier like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (($(i) = $(vNoOfRows)), set $(bisFrageZeilennr) = $(vbishöchsteZeilennr));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tellme where I made a mistake ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purlax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404843#M150651</guid>
      <dc:creator />
      <dc:date>2013-05-24T12:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with if statement and variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404844#M150652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if (($(i) = $(vNoOfRows)), set bisFrageZeilennr = $(vbishöchsteZeilennr));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set assign a value (a variable in this case) to a new variable identifier that is defined without $(..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404844#M150652</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-05-24T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with if statement and variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404845#M150653</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; Where you creating the this Condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't able to create variable in load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else you are creating outer of load use below syntex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vNoOfRows)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;set&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(bisFrageZeilennr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vbishöchsteZeilennr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;ELSEIF&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404845#M150653</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2013-05-24T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with if statement and variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404846#M150654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately nothing of this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comma is always underlined red and Qlikview tells me &lt;IMG __jive_id="41633" alt="Fehler.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/41633_Fehler.JPG" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "set" gives me a similar answer.&lt;/P&gt;&lt;P&gt;: (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the whole file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404846#M150654</guid>
      <dc:creator />
      <dc:date>2013-05-24T12:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with if statement and variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404847#M150655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I combined your advices to a working line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(i) = $(vNoOfRows) then &lt;/P&gt;&lt;P&gt;set bisFrageZeilennr = $(vbishöchsteZeilennr);&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purlax33&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-with-if-statement-and-variable/m-p/404847#M150655</guid>
      <dc:creator />
      <dc:date>2013-05-24T14:26:25Z</dc:date>
    </item>
  </channel>
</rss>

