<?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: Problem with the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859477#M300902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two points:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SubStringCount(&lt;STRONG&gt;Concat&lt;/STRONG&gt;(GetFieldSelections(WorkAreaName,';',9999)),'Mixed') - here &lt;STRONG&gt;concat() &lt;/STRONG&gt;seems to be redundant, because the getfieldselections itself will generate a list/string of selected filed values&lt;/LI&gt;&lt;LI&gt;SubstringCount() would return TRUE/-1 if it finds a 'Mixed' anywhere in the resulttant string returned by inner function. That means, possibly there is 'Mixed' somewhere in your selection. Any doubt, request you to share a sample that demonstrates your issue.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2015 06:45:16 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-07-13T06:45:16Z</dc:date>
    <item>
      <title>Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859476#M300901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem with the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount(Concat(GetFieldSelections(WorkAreaName,';',9999)),'Mixed')&amp;nbsp; in this expression if I select All in workareaname field and then select Name for which Workareaname is deselected (Greyed out) but still showing true not sure about the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ferha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 06:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859476#M300901</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859477#M300902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two points:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SubStringCount(&lt;STRONG&gt;Concat&lt;/STRONG&gt;(GetFieldSelections(WorkAreaName,';',9999)),'Mixed') - here &lt;STRONG&gt;concat() &lt;/STRONG&gt;seems to be redundant, because the getfieldselections itself will generate a list/string of selected filed values&lt;/LI&gt;&lt;LI&gt;SubstringCount() would return TRUE/-1 if it finds a 'Mixed' anywhere in the resulttant string returned by inner function. That means, possibly there is 'Mixed' somewhere in your selection. Any doubt, request you to share a sample that demonstrates your issue.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 06:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859477#M300902</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-13T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859478#M300903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to find the option to attach sample qvw&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859478#M300903</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T07:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859479#M300904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Relpy-&amp;gt;Use advanced editor(right top corner)-&amp;gt;attach(right bottom&amp;nbsp; corner)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859479#M300904</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-13T07:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859480#M300905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the sample if you see although W1 is not selected after selecting the date but still the text object is showing 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859480#M300905</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T07:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859481#M300906</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;Try like this in text box if you find anything Mixed in the output then it will return -1,&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;=GetFieldSelections(WorkAreaName,';',9999)&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;Regards,&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859481#M300906</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-13T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859482#M300907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No , it is not working for all selections..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859482#M300907</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T07:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859483#M300908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you crear the selection from Work field and reselct it; issue goes. But somewhere, something is wrong; something is getting triggered. But no trigger is found nor a macro in your doc. I would contact support for their perusal - perhaps a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859483#M300908</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-13T07:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859484#M300909</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;Clear the selections and again do the selections in this order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First select Date and then select Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is previously you selected all the Work values on top of that you selected Date, that is why you are getting one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859484#M300909</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-13T07:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859485#M300910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Yes. There is one value selected. But in current selections show 3 values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture111.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92643_Capture111.JPG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859485#M300910</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-13T07:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859486#M300911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then what expression should I write for the above situation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859486#M300911</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T07:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859487#M300912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, your expression is working. when i clear the work field and i re select the field.&lt;/P&gt;&lt;P&gt;Did you try the Jagan's Suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for testing purpose try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=wildmatch(Concat(Distinct Work,'|'),'*W1*')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859487#M300912</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-13T07:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859488#M300913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The issue is previously you selected all the Work values on top of that you selected Date, that is why you are getting one.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jagan.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In fact, that is how it is behaving. But the question is - 'Is it so &lt;STRONG&gt;by design&lt;/STRONG&gt; ?'. If so, it would really create a lots of confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859488#M300913</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-13T07:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859489#M300914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it feasible to implement this condition in qlikview????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 10:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859489#M300914</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-07-13T10:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859490#M300915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternative way, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount(Work), SubStringCount(Concat(DISTINCT Work) ,'W1'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 10:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859490#M300915</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-13T10:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859491#M300916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;=if ((SubStringCount(GetFieldSelections(Work,';',9999),';')+1) &amp;lt;&amp;gt;GetSelectedCount(Work) ,'',SubStringCount(Concat(GetFieldSelections(Work,';',9999)),'W1'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 11:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-the-expression/m-p/859491#M300916</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-13T11:01:07Z</dc:date>
    </item>
  </channel>
</rss>

