<?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: select by substring in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65128#M787191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so, just to know, in sql i do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select t1.c1,t1.queue2,t2.queue2,*&lt;/P&gt;&lt;P&gt;from #t2 t1&lt;/P&gt;&lt;P&gt;join #t2 t2&lt;/P&gt;&lt;P&gt;&amp;nbsp; on t1.c1=t2.c1&lt;/P&gt;&lt;P&gt; and t1.queue2=SUBSTRING(t2.queue2,0,LEN(t1.queue2)+1)&lt;/P&gt;&lt;P&gt;order by t1.queue2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where #t2 could be in qv a previous sql dataset result. &lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select queue2&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be possible to do it using resident table or is necessary use loop to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 11:24:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-01T11:24:09Z</dc:date>
    <item>
      <title>select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65120#M787170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;here my situation:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="194074" alt="" class="jive-image image-1" height="545" src="https://community.qlik.com/legacyfs/online/194074_pastedImage_0.png" style="width: 706.904px; height: 545px;" width="707" /&gt;&lt;/P&gt;&lt;P&gt;on the first column in table i have a list of items and in the second column the chain that join all items together.&lt;/P&gt;&lt;P&gt;for example, item "T.L20/34999000" have chain "1," and all items that begin with "1," are join with this ("S.LL20/20029000,172491H2,...").&lt;/P&gt;&lt;P&gt;what i want is when i select one item, have all its childs joined...i tried to have substring and in the list box is working, but only by select on chain value, not by item...&lt;/P&gt;&lt;P&gt;i hope to be undertand what i think...!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/194079_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&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/select-by-substring/m-p/65120#M787170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65121#M787173</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;can you attach sample QVW ? or sample data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 16:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65121#M787173</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-21T16:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65122#M787175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i attacched the example.&lt;/P&gt;&lt;P&gt;in second pic what i want to have by select an item..thank u!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 16:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65122#M787175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T16:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65123#M787176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nobody??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65123#M787176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-23T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65124#M787179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might need &lt;A href="https://community.qlik.com/docs/DOC-5490"&gt;Hierarchy function easy and Efficient with example---&lt;/A&gt; to get this working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 12:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65124#M787179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-23T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65125#M787182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could extract all possible parent items in the load script and use the new parent field as a dimension in your chart? Check the attachment for an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65125#M787182</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-02-27T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65126#M787185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes! it s exatly what i want...i understood your script, now i m trying to use with lot of data, almost 100k rows...i hope will works fine...&lt;/P&gt;&lt;P&gt;many thank s! i ll give you asap a feedback!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 07:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65126#M787185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65127#M787188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked &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;100k rows should probably be just fine. Even if there will be quite a few rows in the final table, it does allow you to write very simple expressions in your charts. In my opinion it's worth it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 11:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65127#M787188</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-02-28T11:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65128#M787191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so, just to know, in sql i do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select t1.c1,t1.queue2,t2.queue2,*&lt;/P&gt;&lt;P&gt;from #t2 t1&lt;/P&gt;&lt;P&gt;join #t2 t2&lt;/P&gt;&lt;P&gt;&amp;nbsp; on t1.c1=t2.c1&lt;/P&gt;&lt;P&gt; and t1.queue2=SUBSTRING(t2.queue2,0,LEN(t1.queue2)+1)&lt;/P&gt;&lt;P&gt;order by t1.queue2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where #t2 could be in qv a previous sql dataset result. &lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select queue2&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be possible to do it using resident table or is necessary use loop to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 11:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65128#M787191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: select by substring</title>
      <link>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65129#M787194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i solved using temp table in sql server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;into #tmp&lt;/P&gt;&lt;P&gt;from "query"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ParentString:&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select t1.c1,t2.queue2,SUBSTRING(t2.queue2,0,LEN(t1.queue2)+1) q&lt;/P&gt;&lt;P&gt;from #tmp t1&lt;/P&gt;&lt;P&gt;join #tmp t2&lt;/P&gt;&lt;P&gt;&amp;nbsp; on t1.c1=t2.c1&lt;/P&gt;&lt;P&gt; and t1.queue2=SUBSTRING(t2.queue2,0,LEN(t1.queue2)+1) &lt;/P&gt;&lt;P&gt; --order by t2.queue2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 11:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-by-substring/m-p/65129#M787194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T11:02:38Z</dc:date>
    </item>
  </channel>
</rss>

