<?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 Data Type and Data Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280218#M104291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create the following as a single table. Is this possible in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type, Comma Separate Data Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header, 05/30/2010&lt;/P&gt;&lt;P&gt;Customer, Frank, 10 Riverview Drive, Springfield, MO&lt;/P&gt;&lt;P&gt;Customer, Sue, 21 Middlbury Rd, Parsippany, MD&lt;/P&gt;&lt;P&gt;Customer, Tom, 10 ABC drivethru, Southbury, CT&lt;/P&gt;&lt;P&gt;Product, Shoe, 1000&lt;/P&gt;&lt;P&gt;Product, Bag, 200&lt;/P&gt;&lt;P&gt;Footer, 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input data is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Customer]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, Name, Address, City, State&lt;/P&gt;&lt;P&gt;1, Frank, 10 Riverview Drive, Springfield, MO&lt;/P&gt;&lt;P&gt;2, Sue, 21 Middlbury Rd, Parsippany, MD&lt;/P&gt;&lt;P&gt;3, Tom, 10 ABC drivethru, Southbury, CT&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Product]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ProdID, Name, Amount&lt;/P&gt;&lt;P&gt;A, Shoe, 1000&lt;/P&gt;&lt;P&gt;B, Bag, 200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2011 14:03:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-06T14:03:01Z</dc:date>
    <item>
      <title>Data Type and Data Value</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280218#M104291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create the following as a single table. Is this possible in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type, Comma Separate Data Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header, 05/30/2010&lt;/P&gt;&lt;P&gt;Customer, Frank, 10 Riverview Drive, Springfield, MO&lt;/P&gt;&lt;P&gt;Customer, Sue, 21 Middlbury Rd, Parsippany, MD&lt;/P&gt;&lt;P&gt;Customer, Tom, 10 ABC drivethru, Southbury, CT&lt;/P&gt;&lt;P&gt;Product, Shoe, 1000&lt;/P&gt;&lt;P&gt;Product, Bag, 200&lt;/P&gt;&lt;P&gt;Footer, 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input data is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Customer]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, Name, Address, City, State&lt;/P&gt;&lt;P&gt;1, Frank, 10 Riverview Drive, Springfield, MO&lt;/P&gt;&lt;P&gt;2, Sue, 21 Middlbury Rd, Parsippany, MD&lt;/P&gt;&lt;P&gt;3, Tom, 10 ABC drivethru, Southbury, CT&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Product]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ProdID, Name, Amount&lt;/P&gt;&lt;P&gt;A, Shoe, 1000&lt;/P&gt;&lt;P&gt;B, Bag, 200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 14:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280218#M104291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-06T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type and Data Value</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280219#M104292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's fairly easy to just concatenate all that together and then sort both fields by load order if you want to see it sorted as indicated.&amp;nbsp; But I don't know what you're trying to accomplish, so that might be a terrible solution for your real requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DataType, Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Header, 05/30/10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CONCATENATE (Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;'Customer' as DataType&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Name &amp;amp; ',' &amp;amp; Address &amp;amp; ',' &amp;amp; City &amp;amp; ',' &amp;amp; State as Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Customer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CONCATENATE (Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;'Product' as DataType&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Name &amp;amp; ',' &amp;amp; Amount as Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Product&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CONCATENATE (Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DataType, Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Footer, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 23:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280219#M104292</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-06T23:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type and Data Value</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280220#M104293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar requirement for extracting data from multiple Qlikview tables into one table or csv file and I used the same technique as the one proposed by John. If you will have varying number of rows in Customer and Product table and the if the number in the 'Footer' record should reflect the number of data records accordingly, you will have to tweak loading the 'Footer' record. A sample script is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, CustName, Address, City, State&lt;/P&gt;&lt;P&gt;1, Frank, 10 Riverview Drive, Springfield, MO&lt;/P&gt;&lt;P&gt;2, Sue, 21 Middlbury Rd, Parsippany, MD&lt;/P&gt;&lt;P&gt;3, Tom, 10 ABC drivethru, Southbury, CT&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ProdID, Name, Amount&lt;/P&gt;&lt;P&gt;A, Shoe, 1000&lt;/P&gt;&lt;P&gt;B, Bag, 200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD 'Header,30/5/2011' as DataValue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;Concatenate (Data) LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Customer' &amp;amp; ',' &amp;amp; CustName &amp;amp; ',' &amp;amp; Address &amp;amp; ',' &amp;amp; City &amp;amp; ',' &amp;amp; State as DataValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Customer;&lt;/P&gt;&lt;P&gt;Concatenate (Data) LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Product'&amp;nbsp; &amp;amp; ',' &amp;amp; Name &amp;amp; ',' &amp;amp; Amount as DataValue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Resident Product;&lt;/P&gt;&lt;P&gt;Concatenate (Data) LOAD 'Footer' &amp;amp; ',' &amp;amp; (RowNo()-2) as DataValue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, though this not very different from the solution given by John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2011 00:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280220#M104293</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-05-07T00:16:26Z</dc:date>
    </item>
    <item>
      <title>Data Type and Data Value</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280221#M104294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The intent is to create data feed in a CSV format to a third party. I had thought about concatenation, but decided against it bacause the internal users cannot calidate the CSV data in varying formats and makes sense out of it prior to sending it out. For now, I have created different tables and exported then individually and concatenated in a macro. If anyone knows a better way, I would love to hear that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 14:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280221#M104294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-09T14:18:52Z</dc:date>
    </item>
    <item>
      <title>Data Type and Data Value</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280222#M104295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You solution sounds good to me, though I've never had that requirement myself, so perhaps there's a better way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 18:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Type-and-Data-Value/m-p/280222#M104295</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-09T18:35:11Z</dc:date>
    </item>
  </channel>
</rss>

