<?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: Match or wildmatch in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910452#M75014</link>
    <description>&lt;P&gt;I think it could be useful to put this logic in the script: Create a flag that indicates whether the ID should be included or not:&lt;/P&gt;&lt;P&gt;if( wildmatch( ID,'AB*','IN*','SD*') and not wildmatch( ID,'ABC*'),1,0) as IncludeID,&lt;/P&gt;&lt;P&gt;Then you can manage the logic there, and you don't need to edit the expressions of several charts. Just use&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;IncludeID={1}&amp;gt;} [Total Billing])&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 09:13:02 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-03-28T09:13:02Z</dc:date>
    <item>
      <title>Match or wildmatch</title>
      <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910337#M75001</link>
      <description>&lt;P&gt;Hi I am trying to create a button and KPI's using ID's.&lt;/P&gt;
&lt;P&gt;I have ID's starting with ABxxxxx, ABCxxxxx, INxxxx, INNxxxx&lt;/P&gt;
&lt;P&gt;I want to display IN* and AB* but I should not include IDs starting with ABC*.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to do something like,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=if( wildmatch( ID,'AB*','IN*'),ID) -- But this includes ABC* also, how to avoid that ?&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910337#M75001</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2022-03-28T06:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Match or wildmatch</title>
      <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910349#M75002</link>
      <description>&lt;P&gt;&lt;STRONG&gt;if( wildmatch( ID,'AB*','IN*') and not wildmatch( ID,'ABC*'),ID)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910349#M75002</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-03-28T07:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Match or wildmatch</title>
      <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910358#M75003</link>
      <description>&lt;P&gt;OMG! Is it that simple. Thanks a lot. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; It worked&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 07:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910358#M75003</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2022-03-28T07:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Match or wildmatch</title>
      <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910448#M75013</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Your solution worked out. Thanks for it. But I have an issue like, I have many ID's starting with DN*, AB* ,ABC* ,IN*, SD*.&lt;/P&gt;
&lt;P&gt;I am using the same concept in sum expression in a bar chart and KPIs like,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt; ID={"AB*","IN*","SD*"}, ID -={"ABC*"}, [Total Billing] -={0}&amp;gt;}[Total Billing])&amp;nbsp; -- This includes the billing of other ID's also.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I want to show the sum for only ID's starting with AB*, IN*, SD* .&lt;/P&gt;
&lt;P&gt;Any help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then it also includes SD*,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 08:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910448#M75013</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2022-03-28T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Match or wildmatch</title>
      <link>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910452#M75014</link>
      <description>&lt;P&gt;I think it could be useful to put this logic in the script: Create a flag that indicates whether the ID should be included or not:&lt;/P&gt;&lt;P&gt;if( wildmatch( ID,'AB*','IN*','SD*') and not wildmatch( ID,'ABC*'),1,0) as IncludeID,&lt;/P&gt;&lt;P&gt;Then you can manage the logic there, and you don't need to edit the expressions of several charts. Just use&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;IncludeID={1}&amp;gt;} [Total Billing])&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 09:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Match-or-wildmatch/m-p/1910452#M75014</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-03-28T09:13:02Z</dc:date>
    </item>
  </channel>
</rss>

