<?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: Akward Source Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596142#M683143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While loading it into QV desktop, did you try using "Enable Transformation Step". That will make your stuff more easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 06:16:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-04T06:16:58Z</dc:date>
    <item>
      <title>Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596141#M683142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help please.&amp;nbsp; I have a source document that is formatted as per the attached sample.&amp;nbsp; I need to get it "flattened" i.e. client needs to go next to fund and the total and blank rows need to be dropped.&amp;nbsp; I've managed to drop the totals and blank rows but I cannot get the client name to insert next to the fund name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 05:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596141#M683142</guid>
      <dc:creator />
      <dc:date>2014-03-04T05:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596142#M683143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While loading it into QV desktop, did you try using "Enable Transformation Step". That will make your stuff more easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 06:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596142#M683143</guid>
      <dc:creator />
      <dc:date>2014-03-04T06:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596143#M683144</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;You can use this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// step 1 - fill client column&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1 as Investment, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2 as Account, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3 as DateOpened, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4 as AnnualFee, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @5 as LastDistribution,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as MarketValue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(@2))=0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Peek('Client')) as Client //fill client column&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[QV Discussions.xls]&lt;/P&gt;&lt;P&gt;(biff, no labels, header is 12 lines, table is Worksheet$) //remove header table&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&amp;nbsp; WildMatch(@1, '*Total ZAR Portfolio', 'TOTAL ZAR MARKET VALUE')=0 //remove total rows&lt;/P&gt;&lt;P&gt;&amp;nbsp; and len(trim(@1))&amp;gt;0; //remove empty rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//step2 remove client from Investment column&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD * Resident T1 where len(trim(Account))&amp;gt;0;&lt;/P&gt;&lt;P&gt;DROP Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table [T2] - is final result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 06:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596143#M683144</guid>
      <dc:creator />
      <dc:date>2014-03-04T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596144#M683145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I've tried numerous times and normally I manage to get it right, but this particular one I cannot figure out.&amp;nbsp; Will try Fedor's solution shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 06:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596144#M683145</guid>
      <dc:creator />
      <dc:date>2014-03-04T06:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596145#M683146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fedor - I will try this within the hour and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 06:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596145#M683146</guid>
      <dc:creator />
      <dc:date>2014-03-04T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Akward Source Format</title>
      <link>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596146#M683147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fedor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - your solution work perfectly with some minor adjustments to cater for a few other wildmatches that must be removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 07:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Akward-Source-Format/m-p/596146#M683147</guid>
      <dc:creator />
      <dc:date>2014-03-04T07:39:15Z</dc:date>
    </item>
  </channel>
</rss>

