<?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: Fetch single values from text, apply to data table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826935#M291161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im speechless, thanks a lot. Works perfectly on my real data when applying.&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Olle &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 13:42:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-28T13:42:12Z</dc:date>
    <item>
      <title>Fetch single values from text, apply to data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826931#M291157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im loading data from a text file.&lt;/P&gt;&lt;P&gt;I've managed to fetch the regular line data, but I also need to add &lt;STRONG&gt;currency&lt;/STRONG&gt; and &lt;STRONG&gt;value date&lt;/STRONG&gt; to the data table.&lt;/P&gt;&lt;P&gt;So, I need to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. fetch the currency code and apply It to all of the below lines.&lt;/P&gt;&lt;P&gt;2. fetch the value dates and apply it to the specific amounts. In this case the 6 first value date is 26-Nov and the single at the bottom 28-Nov.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas how to approach this?&lt;/P&gt;&lt;P&gt;Sample files attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Olle&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;IMG alt="Capture2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72300_Capture2.JPG.jpg" style="width: 620px; height: 240px;" /&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;Just an example. Already got the blue, need the two columns marked in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72299_Capture.JPG.jpg" style="width: 620px; height: 199px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 14:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826931#M291157</guid>
      <dc:creator />
      <dc:date>2014-11-27T14:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch single values from text, apply to data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826932#M291158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Done! I hope it will work on real data too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 16:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826932#M291158</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2014-11-27T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Fetch single values from text, apply to data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826933#M291159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow David, thanks!&lt;/P&gt;&lt;P&gt;This is a true work of art! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I have serveral text files with the exact same format, but for different currencys, do you know how apply multiple file load, something like LOAD *.TXT ? Pls see example files. Same figures but two different currencies. Tried to do it myself but failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826933#M291159</guid>
      <dc:creator />
      <dc:date>2014-11-28T11:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Fetch single values from text, apply to data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826934#M291160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;I solved with FOR....EACH...NEXT approach. I also made a folder system for each step: 1 Raw Data, 2 Intermediate Data, 3 Final Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When loading currency, the first 3 letters of the row will be used in the WHERE clause, so, I presumed that all files start with 'SAS' (WHERE SubField(@1:n, ' - ', 1) = 'SAS'). Otherwise, you have to figure out how to load only the currency for each file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 12:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826934#M291160</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2014-11-28T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch single values from text, apply to data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826935#M291161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im speechless, thanks a lot. Works perfectly on my real data when applying.&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Olle &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 13:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-single-values-from-text-apply-to-data-table/m-p/826935#M291161</guid>
      <dc:creator />
      <dc:date>2014-11-28T13:42:12Z</dc:date>
    </item>
  </channel>
</rss>

