<?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 Iteration on multiple value field creating multiple rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163652#M36676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is sort of interesting, I think. [:P]&lt;/P&gt;&lt;P&gt;I make a load where I have one field that may contain multiple values with a seperator.&lt;/P&gt;&lt;P&gt;LOAD customer ID, customerTags (multi field), percentage, x, y, z ..&lt;/P&gt;&lt;P&gt;What I need to do is to create a new parameter with the percentage split on the count. I realize that I need to perform some iteration and that this will give me as many rows as values in the multi value field.&lt;/P&gt;&lt;P&gt;12, market1, 1.0, x, y, z ..&lt;/P&gt;&lt;P&gt;13, market1, 0.5, x, y, z ..&lt;/P&gt;&lt;P&gt;13, market2, 0.5, x, y, z ..&lt;/P&gt;&lt;P&gt;If I have one value in the multi value field, I place 1 in the percentage field, If I have two values, I will have to create 2 loads of the row, split the multi value field into one on each post and place 0.5 in each row's percentage field. With 3 values in the multi value field has to create 3 rows with the splitted values in each row and 0.33 in the percentage fields. Do you follow me? [8-|]&lt;/P&gt;&lt;P&gt;So in the my end application I then may select a customer and have a percentage value connected to a market to calculate with. Perhaps this is basic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Mar 2010 15:57:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-01T15:57:51Z</dc:date>
    <item>
      <title>Iteration on multiple value field creating multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163652#M36676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is sort of interesting, I think. [:P]&lt;/P&gt;&lt;P&gt;I make a load where I have one field that may contain multiple values with a seperator.&lt;/P&gt;&lt;P&gt;LOAD customer ID, customerTags (multi field), percentage, x, y, z ..&lt;/P&gt;&lt;P&gt;What I need to do is to create a new parameter with the percentage split on the count. I realize that I need to perform some iteration and that this will give me as many rows as values in the multi value field.&lt;/P&gt;&lt;P&gt;12, market1, 1.0, x, y, z ..&lt;/P&gt;&lt;P&gt;13, market1, 0.5, x, y, z ..&lt;/P&gt;&lt;P&gt;13, market2, 0.5, x, y, z ..&lt;/P&gt;&lt;P&gt;If I have one value in the multi value field, I place 1 in the percentage field, If I have two values, I will have to create 2 loads of the row, split the multi value field into one on each post and place 0.5 in each row's percentage field. With 3 values in the multi value field has to create 3 rows with the splitted values in each row and 0.33 in the percentage fields. Do you follow me? [8-|]&lt;/P&gt;&lt;P&gt;So in the my end application I then may select a customer and have a percentage value connected to a market to calculate with. Perhaps this is basic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 15:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163652#M36676</guid>
      <dc:creator />
      <dc:date>2010-03-01T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Iteration on multiple value field creating multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163653#M36677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You may use&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SubField(Field, 'separator')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;function, should your values are separated uniformly. It will create a new record for each value stored in field. Is that what you mean?&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 16:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163653#M36677</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-01T16:20:51Z</dc:date>
    </item>
    <item>
      <title>Iteration on multiple value field creating multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163654#M36678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Miguel, you are totally right. I missed that because I fully had my attention on the percentage calculation. Thank you.&lt;/P&gt;&lt;P&gt;Anyhow, how may I count how many subfields I have on each record? Couldn't find any good function for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 17:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163654#M36678</guid>
      <dc:creator />
      <dc:date>2010-03-01T17:25:58Z</dc:date>
    </item>
    <item>
      <title>Iteration on multiple value field creating multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163655#M36679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Substringcount(Field, 'separator') + 1 AS FieldsValuesNo&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;you will know that are that number of values for each Field plus one. &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;1;2;3&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Will give you 2, so you have 3 values. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 17:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163655#M36679</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-01T17:34:13Z</dc:date>
    </item>
    <item>
      <title>Iteration on multiple value field creating multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163656#M36680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's alot. So simple but still elegant. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 17:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iteration-on-multiple-value-field-creating-multiple-rows/m-p/163656#M36680</guid>
      <dc:creator />
      <dc:date>2010-03-01T17:46:14Z</dc:date>
    </item>
  </channel>
</rss>

