<?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 subquery in qlik sense expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599652#M44321</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a scenario as below,&lt;/P&gt;&lt;P&gt;need to select employee promotion details with respecto to period selection from Qlik sense filters (Year/Qtr/Month)&lt;/P&gt;&lt;P&gt;In the Sql It will looks like:&lt;/P&gt;&lt;P&gt;select Ename, Grade, PromotionDate from Emp_Fact&lt;BR /&gt;where (Eid, PromotionDate) in (Select Eid, max(PromotionDate) from Promotion_fact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where PromotionDate = (Qlik sense filter)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;group by Eid)&lt;BR /&gt;&lt;BR /&gt;So in Qlik sense, how to achieve this, and this need to show in 2 place as total count of promotion done for the period and list of employee name with Grade&lt;/P&gt;&lt;P&gt;Please help me on this scenario and let me know incase need any furhter details&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:30:30 GMT</pubDate>
    <dc:creator>anilmahanty</dc:creator>
    <dc:date>2024-11-16T20:30:30Z</dc:date>
    <item>
      <title>subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599652#M44321</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a scenario as below,&lt;/P&gt;&lt;P&gt;need to select employee promotion details with respecto to period selection from Qlik sense filters (Year/Qtr/Month)&lt;/P&gt;&lt;P&gt;In the Sql It will looks like:&lt;/P&gt;&lt;P&gt;select Ename, Grade, PromotionDate from Emp_Fact&lt;BR /&gt;where (Eid, PromotionDate) in (Select Eid, max(PromotionDate) from Promotion_fact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where PromotionDate = (Qlik sense filter)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;group by Eid)&lt;BR /&gt;&lt;BR /&gt;So in Qlik sense, how to achieve this, and this need to show in 2 place as total count of promotion done for the period and list of employee name with Grade&lt;/P&gt;&lt;P&gt;Please help me on this scenario and let me know incase need any furhter details&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599652#M44321</guid>
      <dc:creator>anilmahanty</dc:creator>
      <dc:date>2024-11-16T20:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599983#M44344</link>
      <description>&lt;P&gt;Hi Anilmahanty,&lt;/P&gt;&lt;P&gt;Maybe something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load
  Ename,
  Grade,
  Max(PromotionDate) as PromotionDate
Group by Ename, Grade
;
Load
  Ename,
  Grade,
  PromotionDate
from Emp_Fact
where Eid = PromotionDate&lt;/LI-CODE&gt;&lt;P&gt;Maybe you can show something about the result that you want to see. That would make it easier to get a solution.&lt;/P&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599983#M44344</guid>
      <dc:creator>JordyWegman</dc:creator>
      <dc:date>2019-07-08T14:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599991#M44347</link>
      <description>&lt;P&gt;I think you're looking for the FirstSortedValue function.&lt;/P&gt;&lt;P&gt;Use Ename as dimension and two measures: max(PromotionDate) and FirstSortedValue(Grade, -PromotionDate)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1599991#M44347</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-07-08T15:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600051#M44356</link>
      <description>I need this in output in UI side,&lt;BR /&gt;&lt;BR /&gt;1. in table with List of employee name&lt;BR /&gt;&lt;BR /&gt;2. In Text Box: Total count of emp</description>
      <pubDate>Mon, 08 Jul 2019 18:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600051#M44356</guid>
      <dc:creator>anilmahanty</dc:creator>
      <dc:date>2019-07-08T18:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600053#M44357</link>
      <description>&lt;P&gt;I need to to show the count of employee for the period with few more condition.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 18:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600053#M44357</guid>
      <dc:creator>anilmahanty</dc:creator>
      <dc:date>2019-07-08T18:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600209#M44371</link>
      <description>&lt;P&gt;I'll rephrase my question, but I'm not interested in the visualizations, but what are the conditions that need to be met for the extraction? When are the right rows selected?&lt;/P&gt;&lt;P&gt;Jordy&lt;/P&gt;&lt;P&gt;Climber&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 06:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600209#M44371</guid>
      <dc:creator>JordyWegman</dc:creator>
      <dc:date>2019-07-09T06:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: subquery in qlik sense expression</title>
      <link>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600985#M44465</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Jordy,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Its like, i am having complete history of data in DB table, lets take 10 yr data of emp promotion.(2010-2019) and other table are there as well. where i can not do any aggression in the script.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&amp;nbsp;need to represent, count of employee and their names, who are eligible for promotion.&lt;/P&gt;&lt;P&gt;Eligible promotion criteria : who are not promoted from past 3 yr.&lt;/P&gt;&lt;P&gt;By default its show eligible promotion for 2019, i.e. when no date filter selected. i.e. prediction for future&lt;/P&gt;&lt;P&gt;If i make any date selection, like: Year/Month/Quarter&lt;/P&gt;&lt;P&gt;then the count/list should show, who all were eligible for promotion during that selected period, as per the&amp;nbsp;Eligible promotion criteria. i.e. past data analysis&lt;/P&gt;&lt;P&gt;Promotion for employee, will available consecutive years as well, i.e. employee would have got promotion back to back 2 year or alternate year, any combinations.&lt;/P&gt;&lt;P&gt;So i have to take the latest promotion date for the each employee and compare with the date selection from filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know, in case need more detail or having any confusion.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 15:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/subquery-in-qlik-sense-expression/m-p/1600985#M44465</guid>
      <dc:creator>anilmahanty</dc:creator>
      <dc:date>2019-07-10T15:04:23Z</dc:date>
    </item>
  </channel>
</rss>

