<?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: Split string to lines in a new dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367420#M832939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 09:30:05 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-06-14T09:30:05Z</dc:date>
    <item>
      <title>Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367416#M832935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to create a calculated dimension that create as many lines as characters surrounded by hooks in my string.&lt;/P&gt;&lt;P&gt;without script modifications ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see screenshot in qlikview attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367416#M832935</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367417#M832936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;InitialTable:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; id_cust, comment&lt;BR /&gt; 1, [shoes]] blabkqsq [caps]] jdskdg [pants]] mkk&lt;BR /&gt; 2, [shoes]] blabkqsq&lt;BR /&gt; 3, [caps]] jdskdg [shirts]] mkk&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;BR /&gt; subfields:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;id_cust&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; '[' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '[')) &amp;amp; ']' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//now split by '[' and add enclosing braces&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '[') &amp;gt; 0&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;id_cust&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;comment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, ']') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;commentsubfield1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//first split by ']'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; InitialTable;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 08:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367417#M832936</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-06-14T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367418#M832937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Marcu&lt;/P&gt;&lt;P&gt;but i would like not modifying my script ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367418#M832937</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-06-14T09:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367419#M832938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aah that's going to be tricky then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any particular reason you're averse to modifying your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367419#M832938</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-06-14T09:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367420#M832939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367420#M832939</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-14T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367421#M832940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yess &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i generally don't like to add some script if it can be solved in report (but i will do if no solution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i only have 5 possible values fo product so&lt;/P&gt;&lt;P&gt;I tried to use a mix of Valuelist() et Wildmatch() , but not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;maybe it need an Aggr somewhere ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new_dim :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Valuelist('[shoes]','[caps]','[pants]') = '[Shoes]' and wildmatch(comment,'[shoes]') ,'[Shoes]' ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if (&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Valuelist('[shoes]','[caps]','[pants]') = '[caps]' and wildmatch(comment,'[caps]) ,'[caps]' ,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367421#M832940</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-06-14T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367422#M832941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ad you said you have 5 products you can use &lt;STRONG&gt;valueloop()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create straight table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;1) id_cust,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;2) valueloop(1,5,1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;1) Product:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; pick(match(ValueLoop(1,5,1),ValueLoop(1,5,1)), TextBetween(comment,'[',']',ValueLoop(1,5,1)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;2) Count:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp; count(pick(match(ValueLoop(1,5,1),ValueLoop(1,5,1)), TextBetween(comment,'[',']',ValueLoop(1,5,1))))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="166821" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166821_Capture.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 10:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367422#M832941</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-14T10:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367423#M832942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice !!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think we could convert&amp;nbsp; "Product" Expression in a Dimension,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;keep the count expression and drop all the rest ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367423#M832942</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-06-15T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Split string to lines in a new dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367424#M832943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will be quite challenging. let me check on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-string-to-lines-in-a-new-dimension/m-p/1367424#M832943</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-15T13:56:11Z</dc:date>
    </item>
  </channel>
</rss>

