<?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: Transforming CSV / QVD import in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452443#M698497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, man - this looks easy. I understand the script.&lt;/P&gt;&lt;P&gt;Is there also any chance to avoid the second LOAD per line if the calculation of (Items_Total - Items_Successfull) will be 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2013 09:11:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-24T09:11:22Z</dc:date>
    <item>
      <title>Transforming CSV / QVD import</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452441#M698495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikview Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am strugling with the following challenge and don't get it solved.&lt;/P&gt;&lt;P&gt;I have a CSV / QVD file in the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Date&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Partner&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Items_Total&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Items_Successfull&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO2&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;70&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to have the data in Qlikview in the following way:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Date&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Partner&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Items&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Status&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;successfull&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;unsuccessfull&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO2&lt;/TD&gt;&lt;TD&gt;70&lt;/TD&gt;&lt;TD&gt;successfull&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;unsuccessfull&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;successfull&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02.01.2013&lt;/TD&gt;&lt;TD&gt;DEMO&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;unsuccessfull&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meaning: The number of successfull items will be used as it is, and marked with "successfull" in "Status". The number of "Status" "unsuccessfull" items needs to be calculated (Items_Total - Items_Successfull) and putted into the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to transform my data source to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks already,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 08:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452441#M698495</guid>
      <dc:creator />
      <dc:date>2013-01-24T08:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming CSV / QVD import</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452442#M698496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResultTable:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date, Partner, Items_Successfull as Items, 'successfull' as Status&lt;/P&gt;&lt;P&gt;from myqvd.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date, Partner, Items_Total - Items_Successfull as Items, 'unsuccessfull' as Status&lt;/P&gt;&lt;P&gt;from myqvd.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because both loads return the same number of fields with the same names they are concatenated into one table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452442#M698496</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-24T09:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming CSV / QVD import</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452443#M698497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, man - this looks easy. I understand the script.&lt;/P&gt;&lt;P&gt;Is there also any chance to avoid the second LOAD per line if the calculation of (Items_Total - Items_Successfull) will be 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452443#M698497</guid>
      <dc:creator />
      <dc:date>2013-01-24T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming CSV / QVD import</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452444#M698500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the second load to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date, Partner, Items_Total - Items_Successfull as Items, 'unsuccessfull' as Status&lt;/P&gt;&lt;P&gt;from myqvd.qvd (qvd)&lt;/P&gt;&lt;P&gt;where Items_Total &amp;gt; Items_Successfull;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452444#M698500</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-24T09:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming CSV / QVD import</title>
      <link>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452445#M698502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much. Easier as thought, and the answer clarified much faster as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TTHX,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transforming-CSV-QVD-import/m-p/452445#M698502</guid>
      <dc:creator />
      <dc:date>2013-01-24T09:25:48Z</dc:date>
    </item>
  </channel>
</rss>

