<?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: Loading an Array field in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440601#M611397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;LOAD 'qty_sales_period' &amp;amp; SubField(Field,';') as Field Inline [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;1;2;3;4;5;6;7;8;9;10;11;12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 06:06:41 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-12T06:06:41Z</dc:date>
    <item>
      <title>Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440599#M611395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field qty_sales (I believe this type of field is called an array) in my Database that returns something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1;2;3;4;5;6;7;8;9;10;11;12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the values represents the qty of a specific product sold in one particular year period (1-12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I load each individual amount as a seperate field in my qlikview script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e: qty_sales_period1, &lt;SPAN style="font-size: 13.3333px;"&gt;qty_sales_period2, &lt;SPAN style="font-size: 13.3333px;"&gt;qty_sales_period3 etc...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 05:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440599#M611395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T05:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440600#M611396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi In this case you need to use the function subfield()&amp;nbsp; to get the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load SubField(qty,';',1) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;qty_sales_period1&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;SubField(qty,';',2) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;qty_sales_period2........SubField(qty,';',12) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;qty_sales_period12&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440600#M611396</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-10-12T06:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440601#M611397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;LOAD 'qty_sales_period' &amp;amp; SubField(Field,';') as Field Inline [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;1;2;3;4;5;6;7;8;9;10;11;12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440601#M611397</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T06:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440602#M611398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If needed to call it as single line you can create Concat() using Resident the same table which we need to call Directory name ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1;2;3;4;5;6;7;8;9;10;11;12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub_Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD 'qty_sales_period' &amp;amp; SubField(Field,';') as Field1 Resident Sample;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Sample;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Concat(Field1, ';') as Field2 Resident Sub_Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440602#M611398</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T06:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440603#M611399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do it with the below mentioned subfield() function as a loop but I would do it within a while-loop and creating a "normal" table with an amount-field and a period field and not a crosstable. I mean something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(qty, ';', iterno()) as qty, iterno() as period&lt;/P&gt;&lt;P&gt;from source while iterno() &amp;lt;= substringcount(qty, ';') + 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 07:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440603#M611399</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-10-12T07:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440604#M611400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;may be this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;Product&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;qty&lt;/SPAN&gt;,';') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;qty&lt;/SPAN&gt;,'qty_sales_period'&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;AutoNumber&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RowNo&lt;/SPAN&gt;(),&lt;SPAN style="color: #800000;"&gt;Product&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;period&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt; Product,qty&lt;BR /&gt; A,1;2;3;4;5;6;7;8;9;10;11;12&lt;BR /&gt; B,11;12;13;14;15;16;17;18;19;110;111;112]&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Generic&lt;/SPAN&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;Product&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;period&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;qty&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt; Temp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179379_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 09:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440604#M611400</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-10-12T09:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440605#M611401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some great input here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate everyone's advice!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loading a table using the subfield function worked a treat...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish I could make them all correct!! but i can only choose one correct - I will give this to the first correct answer and mark the others as helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again to everyone!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onto the next qlikview problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 00:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440605#M611401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T00:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440606#M611402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you went over and above hat was asked as I have only just realised that i also need a Period number... for further calculations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(next step is I need to add up the previous 12 periods as one field and the previous 3 periods as one field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have to get my head around this one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is a great suggestion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your knowledge...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers - Fab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 00:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440606#M611402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T00:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440607#M611403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case I would create a real date from the period probably with: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(Year /* somewhere you need to have this information */, period, 1) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this date would be linked to a master-calendar and most of the advanced date-fields like YTD, LYTD and so on would be flagged there. Here you will find a collection of valuable links to this topic: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 06:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440607#M611403</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-10-16T06:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an Array field in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440608#M611404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will definitely refer to this information when I get back to working on this report...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your input and everyone else's on this forum, there is no way I could have gotten this far without everyone's contribution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 21:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-an-Array-field-in-qlikview/m-p/1440608#M611404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T21:41:33Z</dc:date>
    </item>
  </channel>
</rss>

