<?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 condition to assign a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192421#M54080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For set a variable, you need the command SET or LET.&lt;/P&gt;&lt;P&gt;I recommend creating a field in the table.&lt;/P&gt;&lt;P&gt;You try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD Datum,&lt;BR /&gt; if(Datum = '07.01.2011', 1, 0) as FlgTest,&lt;BR /&gt; Impressions&lt;BR /&gt;FROM&lt;BR /&gt;test1.csv (txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 19:34:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-28T19:34:23Z</dc:date>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192420#M54079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi togehter,&lt;/P&gt;&lt;P&gt;how can i set a variable (myVar) during the load process of my csv, if the condition (see below) is true ?&lt;BR /&gt;Thank you for any help&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;MyTable:&lt;BR /&gt;LOAD Datum,&lt;BR /&gt; if(Datum = '07.01.2011', myVar = 'true', Datum) as DatumCheck,&lt;BR /&gt; Impressions&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;test1.csv (txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*************************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 19:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192420#M54079</guid>
      <dc:creator />
      <dc:date>2011-01-28T19:22:39Z</dc:date>
    </item>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192421#M54080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For set a variable, you need the command SET or LET.&lt;/P&gt;&lt;P&gt;I recommend creating a field in the table.&lt;/P&gt;&lt;P&gt;You try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD Datum,&lt;BR /&gt; if(Datum = '07.01.2011', 1, 0) as FlgTest,&lt;BR /&gt; Impressions&lt;BR /&gt;FROM&lt;BR /&gt;test1.csv (txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 19:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192421#M54080</guid>
      <dc:creator />
      <dc:date>2011-01-28T19:34:23Z</dc:date>
    </item>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192422#M54081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tonial,&lt;BR /&gt;&lt;BR /&gt;thank you for your answer. But how can I now send an email alert with QV without a variable?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Yours sincerely,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 21:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192422#M54081</guid>
      <dc:creator />
      <dc:date>2011-01-28T21:05:54Z</dc:date>
    </item>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192423#M54082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi together,&lt;/P&gt;&lt;P&gt;otherwise there is no other way to set variables while loading ? I therefore need a variable&lt;BR /&gt;because I want to trigger an email if the records contain old values.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jan 2011 00:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192423#M54082</guid>
      <dc:creator />
      <dc:date>2011-01-30T00:00:46Z</dc:date>
    </item>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192424#M54083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this code after previous code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Tmp_Table:&lt;BR /&gt;LOAD distinct FlgTest as TmpFlgTeste&lt;BR /&gt;resident MyTable&lt;BR /&gt;where FlgTest = 1;&lt;BR /&gt;LET vMyVar = Peek('TmpFlgTeste');&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192424#M54083</guid>
      <dc:creator />
      <dc:date>2011-01-31T11:17:10Z</dc:date>
    </item>
    <item>
      <title>condition to assign a variable</title>
      <link>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192425#M54084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr. tonial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats it ! Thank you very much !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 16:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/condition-to-assign-a-variable/m-p/192425#M54084</guid>
      <dc:creator />
      <dc:date>2011-02-01T16:52:10Z</dc:date>
    </item>
  </channel>
</rss>

