<?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 Filtered Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192276#M53992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quiete sure what you want, but is there a way to get an extra field in your dataset that only holds the year (so you can select on YEAR and on PERIOD_ID), this would probably be the easiest way...&lt;/P&gt;&lt;P&gt;You could also use $&amp;lt;PERIOD_ID={2010*}&amp;gt; this is valid according to the QV Reference Manual (Part III, page 353 and up)&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 13:52:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-17T13:52:03Z</dc:date>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192269#M53985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We need to filter the records for a indivudal sheet alone.&lt;/P&gt;&lt;P&gt;We have almost 10 sheets in the qvw file. All of the sheets uses a query which would return 10 years of data. from 2000, 2001, 2002....2010.&lt;/P&gt;&lt;P&gt;But for just one sheet we would need to have the current year records alone.&lt;/P&gt;&lt;P&gt;these sheets are basically charts which have the time dimension on the x-axis. So for only 1 sheet we would need just the 2010 data. whch would be having the months jan, feb. mar....dec just for the currrent year 2010.&lt;/P&gt;&lt;P&gt;We can do this from the Edit script menu where in we can add a seprate Query and build new Column names which can be reffered in the current year Sheet.&lt;/P&gt;&lt;P&gt;But we wuold not prefer this as it would create columns with Similar column names. is there a way by which we can filter reords in the sheet level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 09:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192269#M53985</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2010-06-17T09:56:22Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192270#M53986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Venu.&lt;/P&gt;&lt;P&gt;you can auto select certain year when you move between sheet.&lt;/P&gt;&lt;P&gt;create a trigger for every sheet.&lt;/P&gt;&lt;P&gt;goto trigger tab in sheet properties. click Add Action button for on Activate event.&lt;/P&gt;&lt;P&gt;then add action. selection -&amp;gt; select in field. fill field name and field value.&lt;/P&gt;&lt;P&gt;and do these steps on each sheet with different values of year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 10:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192270#M53986</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192271#M53987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could solve this by creating a different set of data for the objects on the sheet by using SET ANALYSIS. I did a similar thing for an application that had a sheet in it, that overwrites the selections made in other sheets, without changing them.&lt;/P&gt;&lt;P&gt;Your expression would be something like:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Year = {2010}&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;for a sales figure, that only has 2010 data in it, while this is not selected. In my case, I had to make sure to include all months of 2010, so I had to ignore selections made elsewhere in the app like this:&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;Year = {2010}, Month= &amp;gt; Sales)&lt;/P&gt;&lt;P&gt;Note the $ changing into 1, see help for this. If possible, create a variable that holds the set and apply that to all the expressions, as these sets tend to get quite complex (depending on the number of values in the selection you have to change).&lt;/P&gt;&lt;P&gt;There is an excellent example called "Set Analysis - Comparing Selections.qvw" (which I cannot find at the moment, sorry)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 10:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192271#M53987</guid>
      <dc:creator />
      <dc:date>2010-06-17T10:31:22Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192272#M53988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I was able to create a trigger on Sheet event trigger. I used OnActivatesheet to select the Field value (2010) in the selection. It works well. When i moved to sheet, it triggered and field 2010 was selected.&lt;/P&gt;&lt;P&gt;But when i move to other sheets, where i havent set any triggers, i want to unselect 2010 for the Date field. I was not able to find Clear field option. Instead there were Clear Other Fields and Clear All.&lt;/P&gt;&lt;P&gt;Is thee any way to unselect a particluar field alone.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192272#M53988</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2010-06-17T11:03:46Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192273#M53989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you don't need to clear selection in year field. set up action on other sheet with different values.&lt;/P&gt;&lt;P&gt;sheet1:&lt;/P&gt;&lt;P&gt;select in field -&amp;gt; field Year -&amp;gt; Value 2008&lt;/P&gt;&lt;P&gt;sheet2:&lt;/P&gt;&lt;P&gt;select in field -&amp;gt; field Year -&amp;gt; Value 2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you will be happy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192273#M53989</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T11:17:58Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192274#M53990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks, I am looking for similar to this. I would prefer having the exp filter the current year.&lt;/P&gt;&lt;P&gt;But i have a query.&lt;/P&gt;&lt;P&gt;The following is the expression am using,&lt;/P&gt;&lt;P&gt;Max ({$&amp;lt;PERIOD_ID = {201004}&amp;gt;} If(REPORT_CODE='Y',Sales,Null)). This works good for Apr 2010.&lt;/P&gt;&lt;P&gt;but i need for just the year part of the PERIOD_ID.&lt;/P&gt;&lt;P&gt;KPI_PERIOD_ID contains 201002, 201004, 201007, 201011 , 200901, 200903, 200906( the months might change for every other year).&lt;/P&gt;&lt;P&gt;KPI_Period_ID should be always for the the current year alone.&lt;/P&gt;&lt;P&gt;How can we get this.&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 13:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192274#M53990</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2010-06-17T13:11:35Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192275#M53991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post your qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 13:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192275#M53991</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T13:41:20Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192276#M53992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quiete sure what you want, but is there a way to get an extra field in your dataset that only holds the year (so you can select on YEAR and on PERIOD_ID), this would probably be the easiest way...&lt;/P&gt;&lt;P&gt;You could also use $&amp;lt;PERIOD_ID={2010*}&amp;gt; this is valid according to the QV Reference Manual (Part III, page 353 and up)&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 13:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192276#M53992</guid>
      <dc:creator />
      <dc:date>2010-06-17T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192277#M53993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The {2010*} is not working for me. Is there any other means to get this.&lt;/P&gt;&lt;P&gt;Also i am not having the QV Reference Manual. Is it available in the Qlikview website. Can you share the link.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 15:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192277#M53993</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2010-06-18T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Filtered Query</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192278#M53994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about the late answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QV reference manual can be obtained in the download section of the qlikview website: &lt;A href="http://global.qlik.com/download/"&gt;http://global.qlik.com/download/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should get this documentation and read about the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Luuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 19:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Query/m-p/192278#M53994</guid>
      <dc:creator />
      <dc:date>2010-06-28T19:25:00Z</dc:date>
    </item>
  </channel>
</rss>

