<?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: Case 888 How to filter LAST_NAME=??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718469#M723758</link>
    <description>&lt;P&gt;It looks fine. If you are experiencing trouble then it could be (it shouldn't as you are using single quotes) cased by the single char wildchar capabilities to the question mark (?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to see if match gives a better result :&lt;/P&gt;&lt;P&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jun 2020 05:26:38 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-06-13T05:26:38Z</dc:date>
    <item>
      <title>Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718455#M723757</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have below load script , like to know why &lt;FONT color="#FF0000"&gt;filter last name&lt;/FONT&gt; cannot work :-&lt;/P&gt;&lt;P&gt;tab1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;LAST_NAME,Email&lt;BR /&gt;???,&lt;BR /&gt;???,&lt;BR /&gt;???,0rts@stee.stengg1.com&lt;BR /&gt;???,0rts@stee.stengg.com&lt;BR /&gt;zcrm_4325140000000394899,a.hong.my@sg.azbil.com&lt;BR /&gt;zcrm_4325140000000394902,a.koh.hk@sg.azbil.com&lt;BR /&gt;zcrm_4325140000000405882,catherine@mattenplant.com.sg&lt;BR /&gt;zcrm_4325140000000405884,catherine@mattenplant.com.sg&lt;BR /&gt;zcrm_4325140000000405885,&lt;BR /&gt;zcrm_4325140000000405886,&lt;BR /&gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Left Join(tab1)&lt;BR /&gt;LOAD Email,&lt;BR /&gt;If(Count(Email)&amp;gt;1, 'Y', 'N') As Flag_Duplicate,&lt;BR /&gt;If(Email='', 'N', 'Y') As F_NO_EMAIL&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;//If(LAST_NAME='???', 'N', 'Y') As F_NO_LAST_NAME&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Resident tab1&lt;BR /&gt;Group By Email;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718455#M723757</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718469#M723758</link>
      <description>&lt;P&gt;It looks fine. If you are experiencing trouble then it could be (it shouldn't as you are using single quotes) cased by the single char wildchar capabilities to the question mark (?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to see if match gives a better result :&lt;/P&gt;&lt;P&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 05:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718469#M723758</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-06-13T05:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718470#M723759</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;I have try below :-&lt;/P&gt;&lt;P&gt;tab1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;LAST_NAME,Email&lt;BR /&gt;???,&lt;BR /&gt;???,&lt;BR /&gt;???,0rts@stee.stengg1.com&lt;BR /&gt;???,0rts@stee.stengg.com&lt;BR /&gt;zcrm_4325140000000394899,a.hong.my@sg.azbil.com&lt;BR /&gt;zcrm_4325140000000394902,a.koh.hk@sg.azbil.com&lt;BR /&gt;zcrm_4325140000000405882,catherine@mattenplant.com.sg&lt;BR /&gt;zcrm_4325140000000405884,catherine@mattenplant.com.sg&lt;BR /&gt;zcrm_4325140000000405885,&lt;BR /&gt;zcrm_4325140000000405886,&lt;BR /&gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Left Join(tab1)&lt;BR /&gt;LOAD Email,&lt;BR /&gt;If(Count(Email)&amp;gt;1, 'Y', 'N') As Flag_Duplicate,&lt;BR /&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME_,&lt;BR /&gt;If(Email='', 'N', 'Y') As F_NO_EMAIL&lt;BR /&gt;Resident tab1&lt;BR /&gt;Group By Email;&lt;/P&gt;&lt;P&gt;I Get error msg :-&lt;/P&gt;&lt;P&gt;Invalid expression&lt;BR /&gt;Left Join(tab1)&lt;BR /&gt;LOAD Email,&lt;BR /&gt;If(Count(Email)&amp;gt;1, 'Y', 'N') As Flag_Duplicate,&lt;BR /&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME_,&lt;BR /&gt;If(Email='', 'N', 'Y') As F_NO_EMAIL&lt;BR /&gt;Resident tab1&lt;BR /&gt;Group By Email&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 05:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718470#M723759</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-06-13T05:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718475#M723760</link>
      <description>&lt;P&gt;The error is caused by this load:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD Email,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Count(Email)&amp;gt;1, 'Y', 'N') As Flag_Duplicate,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME_,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Email='', 'N', 'Y') As F_NO_EMAIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resident tab1&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Group By Email;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can't use group by Email as you are not usin aggregate functions for defining&amp;nbsp;&lt;SPAN&gt;F_NO_LAST_NAME_ and&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN&gt;F_NO_EMAIL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this will help?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD Email,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Count(Email)&amp;gt;1, 'Y', 'N') As Flag_Duplicate,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(match(LAST_NAME, '???'), 'N', 'Y') As F_NO_LAST_NAME_,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Email='', 'N', 'Y') As F_NO_EMAIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resident tab1&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Group By&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Email,&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;If(Email='', 'N', 'Y'),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;If(match(LAST_NAME, '???'), 'N', 'Y') &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or you could do the group by in a later step after you created the two Flag fields.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 07:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718475#M723760</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-06-13T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718483#M723762</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;Thank you for your sharing .&lt;/P&gt;&lt;P&gt;now&amp;nbsp; error disappear , but it does not able to Flag Last_Name = ???&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="no name.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35483iEF77B586FC8A81AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="no name.png" alt="no name.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 07:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718483#M723762</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-06-13T07:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718544#M723764</link>
      <description>&lt;P&gt;Check this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
LAST_NAME,Email
???,
???,
???,0rts@stee.stengg1.com
???,0rts@stee.stengg.com
zcrm_4325140000000394899,a.hong.my@sg.azbil.com
zcrm_4325140000000394902,a.koh.hk@sg.azbil.com
zcrm_4325140000000405882,catherine@mattenplant.com.sg
zcrm_4325140000000405884,catherine@mattenplant.com.sg
zcrm_4325140000000405885,
zcrm_4325140000000405886,
];

Left Join(tab1)
LOAD LAST_NAME,
	If(Count(Email)&amp;gt;1, 'Y', 'N') As F_DUP_EMAIL,
	If(Concat(Email)='', 'N', 'Y') As F_NO_EMAIL,
	If(Concat(DISTINCT LAST_NAME)='???', 'N', 'Y') As F_NO_LAST_NAME
Resident tab1
Group By LAST_NAME;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 13 Jun 2020 20:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718544#M723764</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-13T20:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718546#M723765</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV31.PNG" style="width: 559px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35499i314F2940057EE265/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV31.PNG" alt="commQV31.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 20:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718546#M723765</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-13T20:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718562#M723766</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;Thank you very much for giving the solution that is work . When i try to implement into my actual doc , i can feel my head very stress. need to take a rest. Any way it is good problem.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 03:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718562#M723766</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-06-14T03:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Case 888 How to filter LAST_NAME=???</title>
      <link>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718564#M723767</link>
      <description>&lt;P&gt;you welcome&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 04:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-888-How-to-filter-LAST-NAME/m-p/1718564#M723767</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-14T04:00:40Z</dc:date>
    </item>
  </channel>
</rss>

