<?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 Transforming a clunky txt report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1659469#M729897</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a txt file with super bad ass 1995 style report headers by product group that I want to transform as a colum in my load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report name&lt;/P&gt;&lt;P&gt;Product: 1010&lt;/P&gt;&lt;P&gt;&lt;U&gt;Account&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Ammount&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Date&lt;/U&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50$&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-29&lt;/P&gt;&lt;P&gt;Product: 1020&lt;/P&gt;&lt;P&gt;&lt;U&gt;Account&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Ammount&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Date&lt;/U&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50$&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-29&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so forth.&lt;/P&gt;&lt;P&gt;How do I get my product loaded as a column?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sibrulotte</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1659469#M729897</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a txt file with super bad ass 1995 style report headers by product group that I want to transform as a colum in my load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report name&lt;/P&gt;&lt;P&gt;Product: 1010&lt;/P&gt;&lt;P&gt;&lt;U&gt;Account&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Ammount&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Date&lt;/U&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50$&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-29&lt;/P&gt;&lt;P&gt;Product: 1020&lt;/P&gt;&lt;P&gt;&lt;U&gt;Account&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Ammount&lt;/U&gt;&amp;nbsp; &amp;nbsp; &lt;U&gt;Date&lt;/U&gt;&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50$&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-29&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so forth.&lt;/P&gt;&lt;P&gt;How do I get my product loaded as a column?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1659469#M729897</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1660397#M729898</link>
      <description>&lt;P&gt;Hi, I think the point here would be firstly transform your data into structure way so Qlik can consume. Try to use Excel to open the txt file and do the formatting. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 09:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1660397#M729898</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2019-12-24T09:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1660776#M729899</link>
      <description>&lt;P&gt;You can use the transform wizard in the Script Editor to help you get rid of the the rows in the report you do not want, it may take some trial and error to get it right, but that is likely the best way to go at that part of things.&amp;nbsp; I am including a design blog link below for the cross-table piece, which I think you will also need.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/FileWizard.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/FileWizard.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this gets you closer to what you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 14:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1660776#M729899</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-26T14:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1661268#M729900</link>
      <description>&lt;P&gt;If your data is always in that format, try my below scripts:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tblTest:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD @1 as content&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[..\Test.txt]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(txt, codepage is 28591, no labels, delimiter is '\t', msq);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tempHeader:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD trim(SubField(content,':',2)) as Product,RowNo() as key&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Resident tblTest where wildmatch(content,'Prod*')=1;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;tempContent:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD content as newContent,RowNo() as key1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Resident tblTest where wildmatch(content,'Prod*')=0 and WildMatch(content,'Acc*')=0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NewContent:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD trim(SubField(newContent,' ',1)) as Account,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Trim(SubField(newContent,' ',-1)) as Date,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Trim(SubField(trim(SubField(newContent,'$',1)),' ',-1))&amp;amp;'$' as Amount,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;key1 as key&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Resident tempContent;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join(tempHeader)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD Product Resident tempHeader;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table tempContent;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DROP Table tempHeader;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DROP Table tblTest;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 02:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1661268#M729900</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2019-12-30T02:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1663076#M729901</link>
      <description>&lt;P&gt;haven't tried it, but that sounds like a nice solution!&lt;/P&gt;&lt;P&gt;Will let you know later.&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 19:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1663076#M729901</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2020-01-06T19:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a clunky txt report</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1663154#M729902</link>
      <description>&lt;P&gt;In the event that GeekSeller asks you for a file from Amazon or from another system &lt;A href="https://www.tellsubway.website/" target="_self"&gt;&lt;FONT color="#000000"&gt;tellsubway&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#000000"&gt;,&lt;/FONT&gt; some systems can export TXT files that GeekSeller is unfortunately unable to import without adjustment.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2020 10:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-a-clunky-txt-report/m-p/1663154#M729902</guid>
      <dc:creator>Procopioo</dc:creator>
      <dc:date>2020-01-12T10:26:22Z</dc:date>
    </item>
  </channel>
</rss>

