<?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 Add columns in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237466#M88521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;PatAgen was quick.&lt;/P&gt;&lt;P&gt;Here for you&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.49.52/Budget.qvw]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 14:36:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-02T14:36:09Z</dc:date>
    <item>
      <title>Add columns in script</title>
      <link>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237464#M88519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have a question about uploading excel data Qlikview.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;One column "budget" in the data table contains as well hours as costs.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Is it possible to add a formula in the script that qlikview makes two columns: hours and Costs and fill it right.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The filter or verticale search can be set by another column "vakgroep".&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Example:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Current situation&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Vakgroep Budget&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EWT 3&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EET 2,5&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;MAT 1000&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;DER 750&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EBT 6&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;MAT 65,95&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EWT 0,5&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;DER 957,6&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Desirable situation:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Vakgroep Budget Hours Costs&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EWT 3 3&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EET 2,5 2,5&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;MAT 1000 1000&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;DER 750 750&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EBT 6 6&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;MAT 65,95 65,95&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EWT 0,5 0,5&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;DER 957,6 957,6&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;MAT en DER is always Costs&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;EWT, EET, EBT is always Hours (starts with an "E").&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I can do this each time by hand in Excel but maybe Qlikview can do that by changing the script.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 14:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237464#M88519</guid>
      <dc:creator />
      <dc:date>2011-05-02T14:12:39Z</dc:date>
    </item>
    <item>
      <title>Add columns in script</title>
      <link>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237465#M88520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can create your new fields with some script code like 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;load&lt;BR /&gt; Vakgroep,&lt;BR /&gt; Budget,&lt;BR /&gt; if(match(Vakgroep,'EWT','EET','EBT','EWT')&amp;gt;0,Budget) as budHours,&lt;BR /&gt; if(match(Vakgroep,'MAT','DER')&amp;gt;0,Budget) as budCosts&lt;BR /&gt;...&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 14:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237465#M88520</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-05-02T14:21:41Z</dc:date>
    </item>
    <item>
      <title>Add columns in script</title>
      <link>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237466#M88521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;PatAgen was quick.&lt;/P&gt;&lt;P&gt;Here for you&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.49.52/Budget.qvw]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 14:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-columns-in-script/m-p/237466#M88521</guid>
      <dc:creator />
      <dc:date>2011-05-02T14:36:09Z</dc:date>
    </item>
  </channel>
</rss>

