<?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 How to update multiple columns during a load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212795#M66674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood the question, you don't set them at the same time because one if() can't establish two fields:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD *&lt;BR /&gt;,if(type=1,value1/value2) as Value&lt;BR /&gt;,if(type=1,'abc') as StructureKey&lt;BR /&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 23:05:25 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-07-02T23:05:25Z</dc:date>
    <item>
      <title>How to update multiple columns during a load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212793#M66672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, got a bit of a problem here and was wondering if anyone had any advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a scorecard system which pulls data from multiple sources, in order to help maintain it and make the front end usable I have created a structure table with a key. This should mean that I can associate the data from multiple sources with the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is this, I want to operate like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Dataa as value1,&lt;/P&gt;&lt;P&gt;Datab as value2,&lt;/P&gt;&lt;P&gt;Type&lt;/P&gt;&lt;P&gt;From Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;If (type=1, value1/value2) as Value (&amp;amp; set the Structure key to equal abc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is I don't know how to do the value calculation and set the structure key at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help! Thankyou!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212793#M66672</guid>
      <dc:creator />
      <dc:date>2010-07-02T14:43:05Z</dc:date>
    </item>
    <item>
      <title>How to update multiple columns during a load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212794#M66673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I undersatnd the question correctly (and I could be way off the mark), it will be:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Table2:&lt;BR /&gt;Load&lt;BR /&gt;Dataa as value1,&lt;BR /&gt;Datab as value2,&lt;BR /&gt;Type&lt;BR /&gt;From Table1;&lt;BR /&gt;&lt;BR /&gt;Table3:&lt;BR /&gt;Load&lt;BR /&gt;...&lt;BR /&gt;If (type=1, value1/value2) as Value,&lt;BR /&gt;'abc' as Key&lt;BR /&gt;Resident Table2;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 17:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212794#M66673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-02T17:15:55Z</dc:date>
    </item>
    <item>
      <title>How to update multiple columns during a load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212795#M66674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood the question, you don't set them at the same time because one if() can't establish two fields:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD *&lt;BR /&gt;,if(type=1,value1/value2) as Value&lt;BR /&gt;,if(type=1,'abc') as StructureKey&lt;BR /&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 23:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212795#M66674</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-02T23:05:25Z</dc:date>
    </item>
    <item>
      <title>How to update multiple columns during a load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212796#M66675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was what I meant, is it not possible then to use the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as newfieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the form of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as field1, field 2&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;Thanks Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 08:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-update-multiple-columns-during-a-load/m-p/212796#M66675</guid>
      <dc:creator />
      <dc:date>2010-07-05T08:06:51Z</dc:date>
    </item>
  </channel>
</rss>

