<?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: Filters and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695414#M251366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tribhuwan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will always show max year i.e 2014 even if you select any year in screen2 because you are calculating variable in backend at once. Calculating variable in frontend with Max() function will change the data after your every year selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 06:22:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-03T06:22:31Z</dc:date>
    <item>
      <title>Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695408#M251360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have a requirement regarding set analysis expression. In my data model under every manager no of employees work.&lt;/P&gt;&lt;P&gt;On my first screen I have a filter called manager and I want to count no of employees for selected manager for current year.&lt;/P&gt;&lt;P&gt;expression for screen1 : count({&amp;lt;Year={$(currYear)},trans_id={1}&amp;gt;}emp_id)&amp;nbsp; where currYear=max(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On screen 2 I want to calculate same expression but now I have only year as a filter available. Now I want to calculate this expression based on year filter although selection of manager from first screen should be applicable.&lt;/P&gt;&lt;P&gt;One more important point that this selected year should not affect screen1&lt;/P&gt;&lt;P&gt;Please suggest what is the best approach to do it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tribhuwan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 08:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695408#M251360</guid>
      <dc:creator />
      <dc:date>2014-07-02T08:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695409#M251361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;trans_id={1}&amp;gt;}emp_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you remove Year in set analysis you always get the values for the current selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 09:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695409#M251361</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-02T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695410#M251362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;This will work for screen2. But how to manage it in screen1 as I don't want to apply year filter on screen1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 11:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695410#M251362</guid>
      <dc:creator />
      <dc:date>2014-07-02T11:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695411#M251363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to apply Year filter then use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;count({&amp;lt;Year=&amp;gt;} emp_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Year= will ignore year selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;trans_id&lt;/SPAN&gt;= will ignore trans_id selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 01:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695411#M251363</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-03T01:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695412#M251364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you don't want Year selection to be affected on screen1 than you can calculate variable in backend instead with below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxYear:&lt;/P&gt;&lt;P&gt;LOAD Max(Year) as Year Resident &amp;lt;YourTable&amp;gt;; &lt;/P&gt;&lt;P&gt;LET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;currYear&lt;/SPAN&gt;=Peek('Year', 0, 'MaxYear');&lt;/P&gt;&lt;P&gt;DROP Table MaxYear;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use screen1 set analysis as it is. For screen2, you can just remove "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year={$(currYear)},&lt;/SPAN&gt;" (see below)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Count({&amp;lt;trans_id={1}&amp;gt;} emp_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 02:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695412#M251364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T02:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695413#M251365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyadev&lt;/P&gt;&lt;P&gt;Thanks for response. It seems promising. One doubt I have if I will select year from screen2 for eg 2013&amp;nbsp; then screen1 will show data for 2014 or 2013 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I want to apply year as currYear=2014 on my screen1 irrespective of year selection on screen2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 05:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695413#M251365</guid>
      <dc:creator />
      <dc:date>2014-07-03T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filters and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695414#M251366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tribhuwan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will always show max year i.e 2014 even if you select any year in screen2 because you are calculating variable in backend at once. Calculating variable in frontend with Max() function will change the data after your every year selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 06:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filters-and-Set-Analysis/m-p/695414#M251366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T06:22:31Z</dc:date>
    </item>
  </channel>
</rss>

