<?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: Issue with if conditional with wildmatch expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618899#M46094</link>
    <description>you could try&lt;BR /&gt;if(wildmatch(getfieldselections(Business),'ABC','XYZ')&amp;gt;0, 1, 0)&lt;BR /&gt;also if you are looking at exact matches use match function instead of wildmatch as the performance is better.&lt;BR /&gt;But more on performance. If you remove the condition is it better?</description>
    <pubDate>Fri, 30 Aug 2019 14:52:19 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-08-30T14:52:19Z</dc:date>
    <item>
      <title>Issue with if conditional with wildmatch expression</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618874#M46093</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;In front end, I have used conditional wildmatch expression to show / hide the columns, but it's taking too much time to load a table chart. plesae suggest how can I improve the performance or modify the expression. In business field I have three different values.&lt;/P&gt;&lt;P&gt;Business&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;XYZ&lt;/P&gt;&lt;P&gt;XXX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 1:- Expression is :-&lt;/P&gt;&lt;P&gt;if(wildmatch(getfieldselections(Business),'ABC'), 1, 0)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;if(wildmatch(getfieldselections(Business),'XYZ'), 1, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I select business=ABC or XYZ then only a column 1 will be visible, but if I select XXX as business this column should be hidden.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618874#M46093</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2024-11-16T04:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with if conditional with wildmatch expression</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618899#M46094</link>
      <description>you could try&lt;BR /&gt;if(wildmatch(getfieldselections(Business),'ABC','XYZ')&amp;gt;0, 1, 0)&lt;BR /&gt;also if you are looking at exact matches use match function instead of wildmatch as the performance is better.&lt;BR /&gt;But more on performance. If you remove the condition is it better?</description>
      <pubDate>Fri, 30 Aug 2019 14:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618899#M46094</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-30T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with if conditional with wildmatch expression</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618900#M46095</link>
      <description>&lt;P&gt;I assume that you have rather a general performance issue with your object and/or the datamodel as an issue with the condition of your expression. Nevertheless you could try to change it to:&lt;/P&gt;&lt;P&gt;wildmatch(getfieldselections(Business),'*ABC*', '*XYZ*')&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 14:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-if-conditional-with-wildmatch-expression/m-p/1618900#M46095</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-08-30T14:57:52Z</dc:date>
    </item>
  </channel>
</rss>

