<?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: Too much for if... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402932#M610741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answers... I didn't notice, that I can use SubField without telling, which block it should use. That's very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked with it... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 10:36:48 GMT</pubDate>
    <dc:creator>jgraunke77</dc:creator>
    <dc:date>2017-12-15T10:36:48Z</dc:date>
    <item>
      <title>Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402929#M610738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a csv-table with almost 2 million rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amongst others there some columns I want to "change".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Column "Test10" contains amonst others following data:&lt;/P&gt;&lt;P&gt;"Example1, Example2, Example4, Example5"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Example1, Example4, Example5, Example6"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Example1, Example2, Example6"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Example2, Example4"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Example1, Example2, Example4, Example5, Example7"&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Now I want to put every "Example..." as a own row in a new column called "NewColumn" and when I select one of these, every row of column "Test10" which contains the selected "Example..." should be marked too.&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;&lt;SPAN style="font-size: 13.3333px;"&gt;I tried to use if, but there are more than 100 distinct "Example..."-entries.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 08:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402929#M610738</guid>
      <dc:creator>jgraunke77</dc:creator>
      <dc:date>2017-12-14T08:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402930#M610739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, you'd have to change the double quotes to single quotes so it's possible do identify a single field from your csv for the Example1, Example2, ... field.&lt;/P&gt;&lt;P&gt;On your original file, all of the Example values should be enclosed by single quotes, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Example1, Example2, Example4, Example5'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Second, once you load that up, you'll just have to use the subfield() statement to separate all the "Example"s into one field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;For the dummy data in the teste.csv file attached, the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Col1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Col2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Col3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trim(subfield(Col4,',')) as Teste&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gets the following in Qlik:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187037_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402930#M610739</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-14T18:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402931#M610740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_285061_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187055_QlikCommunity_Thread_285061_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_285061_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/187056_QlikCommunity_Thread_285061_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15132897138287036 jive_text_macro" jivemacro_uid="_15132897138287036"&gt;
&lt;P&gt;tabTests:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as TestID, *&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Example1, Example2, Example4, Example5"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Example1, Example4, Example5, Example6"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Example1, Example2, Example6"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Example2, Example4"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Example1, Example2, Example4, Example5, Example7"&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabExamples:&lt;/P&gt;
&lt;P&gt;LOAD TestID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trim(SubField(Test10,',')) as NewColumn&lt;/P&gt;
&lt;P&gt;Resident tabTests;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 22:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402931#M610740</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-12-14T22:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402932#M610741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answers... I didn't notice, that I can use SubField without telling, which block it should use. That's very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked with it... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402932#M610741</guid>
      <dc:creator>jgraunke77</dc:creator>
      <dc:date>2017-12-15T10:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402933#M610742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Subfield will create additional rows based on how many delimiters the field has, on my example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,111,01/01/2017,'Example1, Example2, Example4, Example5'&lt;/P&gt;&lt;P&gt;B,2,02/01/2017,'Example1, Example2, Example3'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becomes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Col1 Col2 Col3 Teste &lt;/P&gt;&lt;P&gt;A 111 01/01/2017 Example1 &lt;/P&gt;&lt;P&gt;A 111 01/01/2017 Example2 &lt;/P&gt;&lt;P&gt;A 111 01/01/2017 Example4 &lt;/P&gt;&lt;P&gt;A 111 01/01/2017 Example5 &lt;/P&gt;&lt;P&gt;B 2 02/01/2017 Example1 &lt;/P&gt;&lt;P&gt;B 2 02/01/2017 Example2 &lt;/P&gt;&lt;P&gt;B 2 02/01/2017 Example3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on how many combinations you have (you mentioned some up to 100) it can increase your data a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402933#M610742</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-15T12:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402934#M610743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thank you...&lt;BR /&gt;I noticed that after I postetd unfortunatelly... Now my edited post must be moderated first &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402934#M610743</guid>
      <dc:creator>jgraunke77</dc:creator>
      <dc:date>2017-12-15T12:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Too much for if...</title>
      <link>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402935#M610744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Too-much-for-if/m-p/1402935#M610744</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-15T16:48:38Z</dc:date>
    </item>
  </channel>
</rss>

