<?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: Set Analysis with Parameter (Filters as variable) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523369#M37550</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to expand the variable with the parameter ...&lt;/P&gt;&lt;PRE&gt;=$(vMarineHRExp($(=$(vMarineHRPeriodFilter))))&lt;/PRE&gt;&lt;P&gt;Ag+&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 08:55:27 GMT</pubDate>
    <dc:creator>albert_guito</dc:creator>
    <dc:date>2018-12-21T08:55:27Z</dc:date>
    <item>
      <title>Set Analysis with Parameter (Filters as variable)</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523326#M37545</link>
      <description>&lt;P&gt;List Of Variables:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. vMarineHRExp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;pick(match($(vMarineHR), 1, 2, 3,4)&lt;BR /&gt;//Recruitment&lt;BR /&gt;, count({&amp;lt;[MHR._SourceFlag]={'Recruitment'},MHR.STATUS={'APPROVED'}&lt;BR /&gt;, $1&lt;BR /&gt;&amp;gt;} distinct MHR.map_id)&lt;BR /&gt;,//Promotion&lt;BR /&gt;count({&amp;lt;MHR._SourceFlag={'Promotion'}&lt;BR /&gt;, $1&amp;nbsp;&lt;BR /&gt;&amp;gt;} distinct MHR.CPM_ID)&lt;BR /&gt;,//Resignation&lt;BR /&gt;Count({&amp;lt;MHR.STATUS ={'FINALISED'},[MHR._SourceFlag]={'ResignationDismissal'},MHR.CTE_TYPE={'RESIGNATION'}&lt;BR /&gt;, $1&lt;BR /&gt;&amp;gt;} distinct MHR.CrewID)&lt;BR /&gt;,&lt;BR /&gt;//Dismissal&lt;BR /&gt;Count({&amp;lt;MHR.STATUS ={'FINALISED'},[MHR._SourceFlag]={'ResignationDismissal'},MHR.CTE_TYPE={'DISMISSAL'}&lt;BR /&gt;, $1&lt;BR /&gt;&amp;gt;} distinct MHR.CrewID)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;vMarineHRPeriodFilter:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;pick(match($(vMarineHRFlag), 1, 2, 3)&lt;BR /&gt;,//Current month&lt;BR /&gt;'CalendarPeriod={$(=max(CalendarPeriod))}'&lt;BR /&gt;,//YTD&lt;BR /&gt;'CalendarYear={$(=max(CalendarYear))},CalendarPeriod={"&amp;lt;=$(=max(CalendarPeriod))"}'&lt;BR /&gt;,//Rolling 12 months&lt;BR /&gt;'CalendarPeriod={"&amp;gt;=$(=vLast12Month) &amp;lt;=$(=vCurrentMonth)"}'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;and added set analysis as&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;$(vMarineHRExp(vMarineHRPeriodFilter))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;just wanted to change my filter condition based on user input (filter can be : cureent month / YTD/Rolling 12 months)&lt;/P&gt;&lt;P&gt;so i have created&amp;nbsp;&lt;STRONG&gt;vMarineHRPeriodFilter &lt;/STRONG&gt;variable to finalize my filter and use this in my parameter set analysis&lt;STRONG&gt;&amp;nbsp;vMarineHRExp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but its not working properly ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 07:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523326#M37545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-21T07:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Parameter (Filters as variable)</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523369#M37550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to expand the variable with the parameter ...&lt;/P&gt;&lt;PRE&gt;=$(vMarineHRExp($(=$(vMarineHRPeriodFilter))))&lt;/PRE&gt;&lt;P&gt;Ag+&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523369#M37550</guid>
      <dc:creator>albert_guito</dc:creator>
      <dc:date>2018-12-21T08:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Parameter (Filters as variable)</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523377#M37551</link>
      <description>&lt;P&gt;Thank u Albert&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Its Working Now&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 09:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Parameter-Filters-as-variable/m-p/1523377#M37551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-21T09:20:17Z</dc:date>
    </item>
  </channel>
</rss>

