<?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: Programmatic search. Search String in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848067#M1215530</link>
    <description>&lt;P&gt;You may try it with: subfield(YourExpression, ' ', 1)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 11:23:23 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-10-18T11:23:23Z</dc:date>
    <item>
      <title>Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847678#M1215516</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im able to identify the dimensions via the expression but unable to display the text only i wish to see.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the result which is correct however i only wish to display the String text containing and starting with PLRF&lt;/P&gt;&lt;P&gt;Expression is&lt;/P&gt;&lt;P&gt;only({&amp;lt;CustItemRef={"*^PLRF*"}&amp;gt;}CustItemRef)&lt;/P&gt;&lt;P&gt;Need to have the CustItemRef only show PLRF01012111&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-16 at 10.27.49.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64462iE1ED8D1A8901DA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-16 at 10.27.49.png" alt="Screenshot 2021-10-16 at 10.27.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you i hope the is a good explanation.  &lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2021 09:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847678#M1215516</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2021-10-16T09:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847779#M1215521</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Wildmatch(CustItemRef, '*PLRF*')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Oct 2021 15:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847779#M1215521</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-10-17T15:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847792#M1215522</link>
      <description>&lt;P&gt;Thank you, this will just confirm if PLRF is in text string.&lt;/P&gt;&lt;P&gt;Im able to get the result but just want to display the result below as PLRF01012111 not the -H61761&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-10-17 at 21.12.29.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64480i700A949E77A27D9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-10-17 at 21.12.29.png" alt="Screenshot 2021-10-17 at 21.12.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Oct 2021 20:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847792#M1215522</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2021-10-17T20:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847876#M1215527</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chart: &lt;STRONG&gt;Straight table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dimensions: &lt;STRONG&gt;ItemCode&lt;/STRONG&gt; , &lt;STRONG&gt;CustItemRef&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Exp:&amp;nbsp;&lt;STRONG&gt;Wildmatch(CustItemRef, '*PLRF*')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hide the above expression (Presentation--&amp;gt; hide column)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 07:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847876#M1215527</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-10-18T07:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847904#M1215528</link>
      <description>&lt;P&gt;Unfortunately still giving the full &lt;STRONG&gt;CustItemRef i only want the PLRF01012111&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bnelson111_0-1634544535485.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64501i3DCF8AC859CE67AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bnelson111_0-1634544535485.png" alt="bnelson111_0-1634544535485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 08:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1847904#M1215528</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2021-10-18T08:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848067#M1215530</link>
      <description>&lt;P&gt;You may try it with: subfield(YourExpression, ' ', 1)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 11:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848067#M1215530</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-10-18T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848697#M1215540</link>
      <description>&lt;P&gt;Yes this absolutely trims it and helps, still struggling to trim it and pull it out of a long text string.&lt;/P&gt;
&lt;P&gt;For example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is PLRF01012111-jjj in a string&lt;/P&gt;
&lt;P&gt;I just want the&amp;nbsp;PLRF01012111&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But massive thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 09:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848697#M1215540</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2021-10-19T09:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848702#M1215541</link>
      <description>&lt;P&gt;The more variance are in your data the more efforts are needed to consider them all. To extend it to this case you may add a replace, like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;subfield(replace(YourExpression, '-', ' '), ' ', 1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 09:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848702#M1215541</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-10-19T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848794#M1215552</link>
      <description>&lt;P&gt;Very close just now, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;subfield(replace(only({&amp;lt;CustItemRef={"*^PLRF*"}&amp;gt;}CustItemRef), '-', ' '), ' ', 1)&lt;/P&gt;
&lt;P&gt;Just need the - H61760 dropped&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bnelson111_0-1634645284931.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64726i6487129F945C4143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bnelson111_0-1634645284931.png" alt="bnelson111_0-1634645284931.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 12:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1848794#M1215552</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2021-10-19T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic search. Search String in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1849242#M1215573</link>
      <description>&lt;P&gt;I think it should work in this way by this case. Depending on your data you may need multiple replace() statements and/or also some further string-functions like trim(), keepchar() and similar.&lt;/P&gt;
&lt;P&gt;Especially if there are really n different types and/or it's used several times and/or there are further requirements with additionally TOTAL or aggr() - it would be better to make these things within the script and not in the UI.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 08:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatic-search-Search-String-in-Expression/m-p/1849242#M1215573</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-10-20T08:09:30Z</dc:date>
    </item>
  </channel>
</rss>

