<?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: Creating Flag in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675829#M1061083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;Load User_Id,EmplId As EmployeeId,FirstName,LastName Inline [&lt;/P&gt;&lt;P&gt;User_Id,EmplId,FirstName,LastName&lt;/P&gt;&lt;P&gt;1,1,a,b&lt;/P&gt;&lt;P&gt;3,3,a,b&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Table_B:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;FullName,PhoneNo,EmployeeId,CompanyName&lt;/P&gt;&lt;P&gt;aa,1,1,a&lt;/P&gt;&lt;P&gt;bb,2,2,c ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load EmployeeId,If(Not(IsNull(User_Id)) And Not(IsNull(CompanyName)),'Yes','No') As Flag Resident Table_A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Table_A;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 17:18:28 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-09-23T17:18:28Z</dc:date>
    <item>
      <title>Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675827#M1061081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables with some fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;User Id,&lt;/P&gt;&lt;P&gt;EmplId,&lt;/P&gt;&lt;P&gt;FirstName,&lt;/P&gt;&lt;P&gt;LastName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;FullName,&lt;/P&gt;&lt;P&gt;PhoneNo,&lt;/P&gt;&lt;P&gt;EmployeeId,&lt;/P&gt;&lt;P&gt;CompanyName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create two flag.&lt;/P&gt;&lt;P&gt;For ex, It will compare the EmplId field of Table A with the EmployeeId field of Table B and if the value of EmplId is available in EmployeeId field then it will display 'Yes' if it is not available then it will show 'No'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please tell me how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sonali.&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;T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675827#M1061081</guid>
      <dc:creator />
      <dc:date>2014-09-23T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675828#M1061082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can load Table B with "where exists" clause and mark records with 'Yes',&lt;/P&gt;&lt;P&gt;and with "where not exists" - No&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675828#M1061082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T17:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675829#M1061083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;Load User_Id,EmplId As EmployeeId,FirstName,LastName Inline [&lt;/P&gt;&lt;P&gt;User_Id,EmplId,FirstName,LastName&lt;/P&gt;&lt;P&gt;1,1,a,b&lt;/P&gt;&lt;P&gt;3,3,a,b&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Table_B:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;FullName,PhoneNo,EmployeeId,CompanyName&lt;/P&gt;&lt;P&gt;aa,1,1,a&lt;/P&gt;&lt;P&gt;bb,2,2,c ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load EmployeeId,If(Not(IsNull(User_Id)) And Not(IsNull(CompanyName)),'Yes','No') As Flag Resident Table_A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Table_A;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675829#M1061083</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-23T17:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675830#M1061084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help..It worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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, 23 Sep 2014 17:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675830#M1061084</guid>
      <dc:creator />
      <dc:date>2014-09-23T17:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675831#M1061085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one doubt why you used the field user_Id and CompanyName in Flag?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain me.. I am new to QlikView&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675831#M1061085</guid>
      <dc:creator />
      <dc:date>2014-09-23T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675832#M1061086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table is joined through employeeId. Now you can use any non-nullable fields(need not be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;user_Id and CompanyName&lt;/SPAN&gt;) to identify whether employee is present in both the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try this below and check the values in the resulting table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table_A:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load User_Id,EmplId As EmployeeId,FirstName,LastName Inline [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;User_Id,EmplId,FirstName,LastName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1,1,a,b&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3,3,a,b&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Join&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table_B:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * Inline [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FullName,PhoneNo,EmployeeId,CompanyName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;aa,1,1,a&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;bb,2,2,c ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675832#M1061086</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-23T18:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675833#M1061087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got It... Thank You so much... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &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, 23 Sep 2014 18:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Flag/m-p/675833#M1061087</guid>
      <dc:creator />
      <dc:date>2014-09-23T18:09:58Z</dc:date>
    </item>
  </channel>
</rss>

