<?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: Can Qlik Sense load Data in unusual format? in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702510#M5152</link>
    <description>&lt;P&gt;Assume the data you posted is already loaded into a resident table named "Input" and the field is named "rawdata"&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;Parsed:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;&amp;nbsp; RecId&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; SubField&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Row&lt;/SPAN&gt;, ','), ':', 2) &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Value&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; RecNo&lt;/SPAN&gt;() &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;RecId&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; SubField&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;rawdata&lt;/SPAN&gt;, ';') &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Row&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Resident&lt;/SPAN&gt; Input&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 16:21:03 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2020-05-15T16:21:03Z</dc:date>
    <item>
      <title>Can Qlik Sense load Data in unusual format?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702429#M5151</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm loading Data from SAP with the SAP BAPI connector using the&amp;nbsp;&lt;STRONG&gt;RSAQ_REMOTE_QUERY_CAL &lt;/STRONG&gt;function&lt;STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;This works well enough except that the resulting data is in a strange format. From&amp;nbsp;&lt;A href="https://blogs.sap.com/2014/09/11/downloading-a-sq01-or-sqvi-query-with-net-connector/" target="_blank" rel="noopener"&gt;https://blogs.sap.com/2014/09/11/downloading-a-sq01-or-sqvi-query-with-net-connector/&lt;/A&gt;&amp;nbsp;I found:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;3. We need to parse the output data and store them to our table’s rows. The format of LDATA is

LEN:FIELD_DATA,LEN:FIELD_DATA,LEN:FIELD_DATA;LEN:FIELD_DATA,LEN:FIELD_DATA,LEN:FIELD_DATA;

where each field content is prefixed with a number determining it’s length in characters. ‘,’ is a field separator, ‘;’ is a row separator and ‘:’ sparates field length from the data itself. In a first step we concatenate all the LDATA lines into one single string (ldatastr). &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like this:&lt;/P&gt;&lt;P&gt;000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1600,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1200,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1300,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1400,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1500,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1700,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1900,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:2100,005:99021,021:Postenverkauf Dresden,000:,000:,000:,000:,005:01156,007:Dresden,000:,002:ZA,005:99021;004:1100,006:114802,031:Eduard Gringinger GmbH &amp;amp; Co. KG,000:,000:,000:,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;How can I approach loading that in such strange formats? Is it even possible with Qlik Sense?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 20:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702429#M5151</guid>
      <dc:creator>fzalexanderjohn</dc:creator>
      <dc:date>2021-12-28T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can Qlik Sense load Data in unusual format?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702510#M5152</link>
      <description>&lt;P&gt;Assume the data you posted is already loaded into a resident table named "Input" and the field is named "rawdata"&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;Parsed:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;&amp;nbsp; RecId&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; SubField&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Row&lt;/SPAN&gt;, ','), ':', 2) &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Value&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; RecNo&lt;/SPAN&gt;() &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;RecId&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; SubField&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;rawdata&lt;/SPAN&gt;, ';') &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Row&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Resident&lt;/SPAN&gt; Input&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 16:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702510#M5152</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-05-15T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can Qlik Sense load Data in unusual format?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702793#M5161</link>
      <description>&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;thank you for your reply, it helped me a lot and I'm very close to having it the way I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the resulting table looks like this.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;RecNo&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;XXX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;YYY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should I approach this to get a table that looks like so:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;ABC&lt;/TD&gt;&lt;TD width="50%"&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;XXX&lt;/TD&gt;&lt;TD width="50%"&gt;YYY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be great if you could point me in the right direction! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 07:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702793#M5161</guid>
      <dc:creator>fzalexanderjohn</dc:creator>
      <dc:date>2020-05-17T07:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can Qlik Sense load Data in unusual format?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702911#M5163</link>
      <description>&lt;P&gt;Do you mean the odd numbered records contain the field names and the even number records contain the field values?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 23:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Can-Qlik-Sense-load-Data-in-unusual-format/m-p/1702911#M5163</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-05-17T23:47:12Z</dc:date>
    </item>
  </channel>
</rss>

