<?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: How to achieve the below requirement ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71729#M785075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to add expression in front end table not at script level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2018 11:26:01 GMT</pubDate>
    <dc:creator>imrasyed</dc:creator>
    <dc:date>2018-03-08T11:26:01Z</dc:date>
    <item>
      <title>How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71722#M785068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there any way to achieve the below chart .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the chart below . The requirement is to add the field Flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="195678" alt="NewReq.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195678_NewReq.PNG" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The Flag condition should be .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For eg ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The UK value - 43101_328 didnt appear in the table more than once thus Flag a 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thus ,&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;same as 43101_1653 ,43101_3373 .&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;Please take consideration of the whole table such a deal1, dealnm1 . The Flag should be at last.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The red highlighted row are two records . if the number 43101_828 is occuring twice the flag as 0 .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Req1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195679_Req1.PNG" style="height: 404px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;Please kindly assist .&lt;/P&gt;&lt;P&gt;sample model attached..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71722#M785068</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71723#M785069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the condition for flag?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71723#M785069</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-03-08T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71724#M785070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explore your requirement more ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71724#M785070</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-03-08T10:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71725#M785071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add one more expression&lt;/P&gt;&lt;P&gt;if(column(Put dealnm1 column number) = '-',0,1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71725#M785071</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-08T10:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71726#M785072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Flag condition should be .&lt;/P&gt;&lt;P&gt;For eg ,&lt;/P&gt;&lt;P&gt;The UK value - 43101_328 didnt appear in the table more than once thus Flag a 1 &lt;/P&gt;&lt;P&gt;Thus ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same as 43101_1653 ,43101_3373 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take consideration of the whole table such a deal1, dealnm1 . The Flag should be at last.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71726#M785072</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-03-08T10:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71727#M785073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add new expresssion as&lt;/P&gt;&lt;P&gt;If(Count(Disntict UK)=1,1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71727#M785073</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-03-08T11:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71728#M785074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="treating as two different row thus counting as 1.PNG" class="jive-image image-1" src="/legacyfs/online/195683_treating as two different row thus counting as 1.PNG" style="height: 409px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model is treating the two row as two different rows thus count as 1 thus flag as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below query in the script .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"OpenUser_final4":&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;UK,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DateJoinKeyPL,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; deal1,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;dealnm1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; previousdealid, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Count(Distinct UK)=1,1,0) as FlagLateststate&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident "OpenUser_final3" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;GROUP BY UK,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DateJoinKeyPL,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; deal1,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;dealnm1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; previousdealid;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thus getting the result as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="result.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/195684_result.PNG" style="height: 378px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71728#M785074</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-03-08T11:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71729#M785075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to add expression in front end table not at script level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71729#M785075</guid>
      <dc:creator>imrasyed</dc:creator>
      <dc:date>2018-03-08T11:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71730#M785076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="output.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195685_output.PNG" style="height: 417px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71730#M785076</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2018-03-08T11:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve the below requirement ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71731#M785077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have qlikview installed in my system .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;If(Count(Total &amp;lt;UK&amp;gt; UK)=1,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Count(&amp;lt;UK&amp;gt; UK)=1,1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-achieve-the-below-requirement/m-p/71731#M785077</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-03-08T13:48:19Z</dc:date>
    </item>
  </channel>
</rss>

