<?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 a freight cost in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198567#M57830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for a prompt answer. It really solved my problem and I´m a bit wiser now.&lt;/P&gt;&lt;P&gt;Thanks for all help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 15:56:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-23T15:56:43Z</dc:date>
    <item>
      <title>Add a freight cost</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198565#M57828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple application that reads a texfile with data like this&lt;/P&gt;&lt;P&gt;1000;10;20101101&lt;BR /&gt;1000;15;20101101&lt;BR /&gt;1000;100;20101101&lt;BR /&gt;1000;90;20101101&lt;BR /&gt;1000;11;20101101&lt;BR /&gt;1001;15;20101101&lt;BR /&gt;1001;100;20101101&lt;BR /&gt;1001;45;20101101&lt;BR /&gt;1001;555;20101101&lt;BR /&gt;1001;75;20101101&lt;BR /&gt;1002;15;20101101&lt;BR /&gt;1002;100;20101101&lt;BR /&gt;1002;45;20101101&lt;BR /&gt;1002;555;20101101&lt;BR /&gt;1002;75;20101101&lt;BR /&gt;1000;10;20101102&lt;BR /&gt;1000;15;20101102&lt;BR /&gt;1000;100;20101102&lt;BR /&gt;1000;90;20101102&lt;BR /&gt;1000;11;20101102&lt;BR /&gt;1001;15;20101102&lt;BR /&gt;1001;100;20101102&lt;BR /&gt;1001;45;20101102&lt;BR /&gt;1001;555;20101102&lt;BR /&gt;1001;75;20101102&lt;BR /&gt;1002;15;20101102&lt;BR /&gt;1002;100;20101102&lt;BR /&gt;1002;45;20101102&lt;BR /&gt;1002;555;20101102&lt;BR /&gt;1002;75;20101102&lt;BR /&gt;....&lt;BR /&gt;....&lt;/P&gt;&lt;P&gt;it contains customer number,amount ad delivery date.&lt;/P&gt;&lt;P&gt;How shall I manage to add one fixed freight cost for each day pro customer. Can I add it to the table created&lt;/P&gt;&lt;P&gt;at the load or do I have to load it into an own table. the freight cost is in a constant SET Freight=20.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;PA:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&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amp;amp; '-' &amp;amp; right(@9,2) &lt;B&gt;as&lt;/B&gt; TempDate&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\All.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is ';', msq)&lt;/P&gt;&lt;P&gt;&lt;B&gt;where&lt;/B&gt; left(@1,4)='SE00';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 13:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198565#M57828</guid>
      <dc:creator />
      <dc:date>2010-11-23T13:43:46Z</dc:date>
    </item>
    <item>
      <title>Add a freight cost</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198566#M57829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hakan,&lt;/P&gt;&lt;P&gt;look at my little application. The inline load statement is only to get your example data. The key is the load-statement on the second tab. If the source is always sorted by date and cust-number the script will work fine. If it is not always sorted you can read the unsorted data and sort it and then add the field Freight while reading from the (sorted) resident table.&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 14:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198566#M57829</guid>
      <dc:creator />
      <dc:date>2010-11-23T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Add a freight cost</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198567#M57830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for a prompt answer. It really solved my problem and I´m a bit wiser now.&lt;/P&gt;&lt;P&gt;Thanks for all help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 15:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198567#M57830</guid>
      <dc:creator />
      <dc:date>2010-11-23T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Add a freight cost</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198568#M57831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hakan,&lt;/P&gt;&lt;P&gt;I am Glad to help. Don't hesitate to post again. Would you mark the aswer as solution so this thread will be flagged green and can be recognized as finished.&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 17:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-freight-cost/m-p/198568#M57831</guid>
      <dc:creator />
      <dc:date>2010-11-23T17:43:24Z</dc:date>
    </item>
  </channel>
</rss>

