<?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: What is wrong in my if? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133847#M372455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm me, one thing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you filtering A &amp;amp; B from Source name is after selection / Before Selection / Current Selection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Current Selection you should maintain $ for Current Selection in the Expression..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 11:02:32 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-05-24T11:02:32Z</dc:date>
    <item>
      <title>What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133842#M372450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to manage to get my IF to work .. The problem is, that it does not really sum my sum() values in table &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I use text-box object and the sum() values without if, then it sum() the values correctly without any problem . But even if I put the IF to text-box, it returns 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the code below, I made some changes on the names... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;If there is anyone who can help me with this, it would be much appreciated! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;// IF USER HAS NOT MADE ANY SELECTIONS OR SELECTED ALL OF THE 3&lt;/P&gt;&lt;P&gt;if(Count(distinct SourceName)=3,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF THERE IS NOT ANY SELECTIONS, WE WILL SUM THE A,B AND C WITH FILTERS&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;SourceName ={'*'} - {'C'}&amp;gt;} VALUE)) + (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE))&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF ONE SOURCE HAS BEEN SELECTED AND IT IS &lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if(Count(distinct SourceName)=1, if(WildMatch(lower(GetFieldSelections(SourceName)),'*c*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF IT IS 1 AND IT IS &lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF IT IS 1 AND IT IS NOT C&lt;/P&gt;&lt;P&gt;(sum(VALUE))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF THE SELECTION IS DIFFERENT THAN 3 OR 1 (IN THIS CASE 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF THE C IS WITHIN SELECTIONS&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*c*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;// IF THE SELECTIONS INCLUDE ALSO A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*a*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;(sum({&amp;lt;SourceName = {'A'}&amp;gt;} VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;+ (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;// IF THE OTHER SELECTION INCLUDES B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*b*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;(sum({$&amp;lt;SourceName = {'B'}&amp;gt;} VALUE)) + (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE)))),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// IF THE C IS NOT INCLUDED IN THE SELECTIONS&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(sum(VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The red part of the code is the one that does not work correctly on my table .. Actually it does the sum() values right on text-box for some reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133842#M372450</guid>
      <dc:creator />
      <dc:date>2016-05-24T10:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133843#M372451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please put on red color which expression is getting the problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133843#M372451</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-05-24T10:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133844#M372452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I was going to do that .. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133844#M372452</guid>
      <dc:creator />
      <dc:date>2016-05-24T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133845#M372453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using lower function but highlighting character in UPPER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*&lt;STRONG&gt;a&lt;/STRONG&gt;*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(sum({&amp;lt;SourceName = {'A'}&amp;gt;} VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;+ (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;// IF THE OTHER SELECTION INCLUDES B&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*&lt;STRONG&gt;b&lt;/STRONG&gt;*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(sum({$&amp;lt;SourceName = {'B'}&amp;gt;} VALUE)) + (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;SPAN style="color: #000000;"&gt;Note: check parenthesis as well&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133845#M372453</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-24T10:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133846#M372454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a very good guess! That was just my mistake when I replaced the actual sourcenames.. They are at lowercase on my code. Good guess tho! &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133846#M372454</guid>
      <dc:creator />
      <dc:date>2016-05-24T10:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133847#M372455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm me, one thing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you filtering A &amp;amp; B from Source name is after selection / Before Selection / Current Selection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Current Selection you should maintain $ for Current Selection in the Expression..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133847#M372455</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-05-24T11:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133848#M372456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The if-condition should be working after selections, or that I am trying to achieve.&lt;/P&gt;&lt;P&gt;Where you mean I should use the $ then? &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133848#M372456</guid>
      <dc:creator />
      <dc:date>2016-05-24T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133849#M372457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Niko,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Please find below.. Or else please share me sample Application ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Updated:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*B*'), (sum({$&amp;lt;SourceName = {'B'}&amp;gt;} VALUE)) + (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*A*'), (sum({&lt;SPAN style="color: #800000;"&gt;$&lt;/SPAN&gt;&amp;lt;SourceName = {'A'}&amp;gt;} VALUE)) + (sum({&amp;lt;[FILTER1]={'BANANA'}, [FILTER2] = {"&amp;gt;$(=-100)&amp;lt;$(=100)"}, SourceName={'C'}&amp;gt;} VALUE)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133849#M372457</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-05-24T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133850#M372458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niko, I don't see why isn't working. Wildmatch isn't case sensitive but set analysis is case sensitive, it leads to think about something with case in set analysis but if that was the case, the first part of the 'If' wouldn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check it it's an 'If' or a 'sum' issue you can try changing each if to return a different number (a simple '1', '2', etc...) to check if the 'if' is going to the expected sentence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133850#M372458</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-05-24T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133851#M372459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried something like that already to see what part of my IF-clause does not work.. Just outputting different strings of the steps and they seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually now when I tested with numbers, the last two steps that are highlighted with red.. Does not work the way I want them to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put number 1 to the &lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;a&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and number 2 to the &lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(WildMatch(lower(GetFieldSelections(SourceName)),'*&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;b&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;*'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They return the values to the table when I select the opposite value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133851#M372459</guid>
      <dc:creator />
      <dc:date>2016-05-24T11:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133852#M372460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did not have any influence on to that&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;/P&gt;&lt;P&gt;And I can't share this workbook with this data, and I do not know if I can re-produce this with the sampledata. Have to take a look on to that on some point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway! &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133852#M372460</guid>
      <dc:creator />
      <dc:date>2016-05-24T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133853#M372461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason when selecting all of the 3 options also, it does only show the sourcename C data.. And when nothing is selected, it shows all the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133853#M372461</guid>
      <dc:creator />
      <dc:date>2016-05-24T11:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133854#M372462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say opposite is in both cases? Maybe the first condition is also true because the value wich is true for '*c*' or '*b*' is also true for '*a*'. Putting the '*' will return true if the substring is present in the other values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not: Can you upload a simple wich demostrates the issue? It doen't needs to have real data, just sample data simulating your document. (I don't have a QV available right now but I will have in a few hours)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133854#M372462</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-05-24T12:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my if?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133855#M372463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I did not crack that case, but I made a whole new IF-clause that works (at least now).&lt;/P&gt;&lt;P&gt;I could share that for example tomorrow &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;Still wondering why that earlier did not work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-if/m-p/1133855#M372463</guid>
      <dc:creator />
      <dc:date>2016-05-24T12:51:14Z</dc:date>
    </item>
  </channel>
</rss>

