<?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: If value then Load Column A else load Column B in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517959#M748752</link>
    <description>&lt;P&gt;Great! Thanks a lot for the whole script, otherwise i didn't know where to put it!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 12:48:54 GMT</pubDate>
    <dc:creator>bramvdpoel</dc:creator>
    <dc:date>2018-12-07T12:48:54Z</dc:date>
    <item>
      <title>If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517875#M748747</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm pretty new to qlik and trying some things but can't seem to fix the following problem:&lt;/P&gt;&lt;P&gt;I want to load a new column [Prijs] to the table.&lt;/P&gt;&lt;P&gt;If the value in&amp;nbsp; column [Prijsind] = 'AAB' then it should load [Brutoprijs] Else it should load [Dubbel].&lt;/P&gt;&lt;P&gt;'MP':&lt;BR /&gt;Directory;&lt;BR /&gt;LOAD&lt;BR /&gt;[@2:4] as Voorloper,&lt;BR /&gt;text([@5:26]) as Artikelcode,&lt;BR /&gt;[@30:52] as TecDoc,&lt;BR /&gt;[@58:81] as EAN,&lt;BR /&gt;[@91:125] as Omschrijving,&lt;BR /&gt;[@237:248] as Bruto1,&lt;BR /&gt;[@249:250] as Bruto2,&lt;BR /&gt;[@251:253] as Prijsind,&lt;BR /&gt;[@257:259] as ExtArtID,&lt;BR /&gt;[@260:270] as [min aantal],&lt;BR /&gt;[@274:280] as [aantal verpakking],&lt;BR /&gt;[@317:320] as btw,&lt;BR /&gt;[@321:334] as verwijderings,&lt;BR /&gt;[@2:4] &amp;amp; [@257:259] as Match,&lt;BR /&gt;[@237:250] as Brutoprijs,&lt;BR /&gt;[@237:250]*2 as Dubbel&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[G:\Temp\mp_all_rai_NL.txt]&lt;BR /&gt;(fix, codepage is 1252, no labels);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517875#M748747</guid>
      <dc:creator>bramvdpoel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517899#M748748</link>
      <description>&lt;P&gt;Exactly as u said it,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;[Prijsind] = 'AAB',&amp;nbsp;&amp;nbsp;[Brutoprijs]&amp;nbsp;,&amp;nbsp;[Dubbel]) as YourColumn&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 11:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517899#M748748</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-12-07T11:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517905#M748749</link>
      <description>&lt;P&gt;You can add this by a load on load:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'MP':&lt;BR /&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if([Prijsind] = 'AAB', [Brutoprijs] , [Dubbel]) as YourColumn&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;[@2:4] as Voorloper,&lt;BR /&gt;text([@5:26]) as Artikelcode,&lt;BR /&gt;[@30:52] as TecDoc,&lt;BR /&gt;[@58:81] as EAN,&lt;BR /&gt;[@91:125] as Omschrijving,&lt;BR /&gt;[@237:248] as Bruto1,&lt;BR /&gt;[@249:250] as Bruto2,&lt;BR /&gt;[@251:253] as Prijsind,&lt;BR /&gt;[@257:259] as ExtArtID,&lt;BR /&gt;[@260:270] as [min aantal],&lt;BR /&gt;[@274:280] as [aantal verpakking],&lt;BR /&gt;[@317:320] as btw,&lt;BR /&gt;[@321:334] as verwijderings,&lt;BR /&gt;[@2:4] &amp;amp; [@257:259] as Match,&lt;BR /&gt;[@237:250] as Brutoprijs,&lt;BR /&gt;[@237:250]*2 as Dubbel&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[G:\Temp\mp_all_rai_NL.txt]&lt;BR /&gt;(fix, codepage is 1252, no labels);&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 11:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517905#M748749</guid>
      <dc:creator>bertdijks</dc:creator>
      <dc:date>2018-12-07T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517910#M748750</link>
      <description>&lt;P&gt;Isn't this the same response I gave? I'll assume u havn't seen mine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 11:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517910#M748750</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-12-07T11:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517912#M748751</link>
      <description>&lt;P&gt;Your right (your formula) ; but for somebody new to Qlik it may be unclear how to add it in the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 11:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517912#M748751</guid>
      <dc:creator>bertdijks</dc:creator>
      <dc:date>2018-12-07T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: If value then Load Column A else load Column B</title>
      <link>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517959#M748752</link>
      <description>&lt;P&gt;Great! Thanks a lot for the whole script, otherwise i didn't know where to put it!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 12:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-value-then-Load-Column-A-else-load-Column-B/m-p/1517959#M748752</guid>
      <dc:creator>bramvdpoel</dc:creator>
      <dc:date>2018-12-07T12:48:54Z</dc:date>
    </item>
  </channel>
</rss>

