<?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 how to find top2 voilation in working flag in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963451#M330432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,qlikers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attached some sample data in that i need to find top2 violation employees &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i find this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 13:46:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-26T13:46:44Z</dc:date>
    <item>
      <title>how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963451#M330432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,qlikers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attached some sample data in that i need to find top2 violation employees &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i find this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963451#M330432</guid>
      <dc:creator />
      <dc:date>2015-10-26T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963452#M330433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to do this in the script or UI of the application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963452#M330433</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-26T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963453#M330434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use Rank Function !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963453#M330434</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-10-26T13:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963454#M330435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Employee id], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Employee Name], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingFlag, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EmployeeDatails.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Employee id],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Count(WorkingFlag) as Count&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where WorkingFlag = 'Voilation'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [Employee id];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Employee id],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Count,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AutoNumber(Count) as Rank&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Count desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output in straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103070_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963454#M330435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-26T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963455#M330436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ui i want to find and here the fields are from different tables&amp;nbsp; Employee id,name are from employee table date is from master calendar and duration,workingflag are from final table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963455#M330436</guid>
      <dc:creator />
      <dc:date>2015-10-27T04:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to find top2 voilation in working flag</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963456#M330437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;=Concat(if(aggr(rank(count({&amp;lt;WorkingFlag={'Voilation'}&amp;gt;}[Employee id])),[Employee id])&amp;lt;=2,[Employee Name]),'|')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 05:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-find-top2-voilation-in-working-flag/m-p/963456#M330437</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-10-27T05:33:38Z</dc:date>
    </item>
  </channel>
</rss>

