<?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 Create a table based on comma seperated values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-table-based-on-comma-seperated-values/m-p/219222#M72268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, you don't have to use a for/each statement&lt;/P&gt;&lt;P&gt;with this script i did what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; USER,&lt;BR /&gt; subfield(Values,',') as Value&lt;BR /&gt;INLINE [&lt;BR /&gt; USER;Values&lt;BR /&gt; One; 4500, 6700&lt;BR /&gt; Two; 2,1&lt;BR /&gt; Three; 23, 2420, 6451&lt;BR /&gt;](delimiter is ';');&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;i've changed the delimiter, just to adjust he format&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 15:38:34 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2010-01-21T15:38:34Z</dc:date>
    <item>
      <title>Create a table based on comma seperated values</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-table-based-on-comma-seperated-values/m-p/219221#M72267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Hello everyone&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;I want to write a generic script which can be better explained as follows:&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt; &amp;lt;table width="333" cellpadding="0" cellspacing="0" border="0" style="width: 250pt; border-collapse: collapse;"&amp;gt; &amp;lt;colgroup&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;col width="64" style="width: 48pt;"&amp;gt;&amp;lt;/col&amp;gt;&amp;lt;col width="269" style="width: 202pt; mso-width-source: userset; mso-width-alt: 9837;"&amp;gt;&amp;lt;/col&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/colgroup&amp;gt; &amp;lt;tbody&amp;gt; &amp;lt;tr height="17" style="height: 12.75pt;"&amp;gt; &amp;lt;td width="64" height="17" style="background-color: transparent; width: 48pt; height: 12.75pt; border: #ece9d8;"&amp;gt;&amp;lt;strong&amp;gt;USER&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td width="269" class="xl63" style="background-color: transparent; width: 202pt; border: #ece9d8;"&amp;gt;&amp;lt;strong&amp;gt;Values&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;tr height="17" style="height: 12.75pt;"&amp;gt; &amp;lt;td height="17" style="background-color: transparent; height: 12.75pt; border: #ece9d8;"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td class="xl63" style="background-color: transparent; border: #ece9d8;"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;tr height="17" style="height: 12.75pt;"&amp;gt; &amp;lt;td height="17" style="background-color: transparent; height: 12.75pt; border: #ece9d8;"&amp;gt;One&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td class="xl63" style="background-color: transparent; border: #ece9d8;"&amp;gt;4500, 6700&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;tr height="17" style="height: 12.75pt;"&amp;gt; &amp;lt;td height="17" style="background-color: transparent; height: 12.75pt; border: #ece9d8;"&amp;gt;Two&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td x:num="2.1" class="xl63" style="background-color: transparent; border: #ece9d8;"&amp;gt;2,1&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;tr height="17" style="height: 12.75pt;"&amp;gt; &amp;lt;td height="17" style="background-color: transparent; height: 12.75pt; border: #ece9d8;"&amp;gt;Three&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;td class="xl63" style="background-color: transparent; border: #ece9d8;"&amp;gt;23, 2420, 6451&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt; &amp;lt;/tbody&amp;gt; &amp;lt;/table&amp;gt; &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;For each user, I would like to create a table with a separate row for each value found ie&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;pre class="jive_text_macro jive_macro_code" jivemacro="code" ___default_attr="plain"&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;One, 4500&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;One, 6700&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Two, 2&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Two, 1&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Three, 23&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Three,2420&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;Three, 6451&amp;lt;!--StartFragment--&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;I kinda know that one has to create a FOR EACH loop or a WHILE loop and create a new table but the syntax of it escapes me. &amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;How do I create a script in QV that reads in this table and for each user, seperate the values found in the Values field and create a new row?&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;All help much appreciated!&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 15:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-table-based-on-comma-seperated-values/m-p/219221#M72267</guid>
      <dc:creator />
      <dc:date>2010-01-21T15:26:20Z</dc:date>
    </item>
    <item>
      <title>Create a table based on comma seperated values</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-table-based-on-comma-seperated-values/m-p/219222#M72268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, you don't have to use a for/each statement&lt;/P&gt;&lt;P&gt;with this script i did what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; USER,&lt;BR /&gt; subfield(Values,',') as Value&lt;BR /&gt;INLINE [&lt;BR /&gt; USER;Values&lt;BR /&gt; One; 4500, 6700&lt;BR /&gt; Two; 2,1&lt;BR /&gt; Three; 23, 2420, 6451&lt;BR /&gt;](delimiter is ';');&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;i've changed the delimiter, just to adjust he format&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 15:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-table-based-on-comma-seperated-values/m-p/219222#M72268</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-01-21T15:38:34Z</dc:date>
    </item>
  </channel>
</rss>

