<?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: Re: Static Filter On Open Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592212#M1111284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I strongly recommend using SECTION ACCESS as mentioned by Marcus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;However, if you wanted a shortcut then you can create a bookmark and assign this book on "OnOpen" event under Document Properties. You can also update/replace the bookmark and it's easy to manage compared to individual field selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 17:29:15 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2014-03-03T17:29:15Z</dc:date>
    <item>
      <title>Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592208#M1111280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the search function, but sadly I did not find clear answers for me as a beginner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks in advance for your help and patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have to add various static filter values in a multi sheet document basing on the user ID (&lt;SPAN style="color: #0000ff;"&gt;OSuser&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( ))&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Static filters shall be applied, when the user opens the QV document.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The user must be able to apply his own filter values within the static filter range.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: Static filter range on country is: UK, US, DE and user can apply a filter on US only if he wants&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found &lt;SPAN style="font-size: 10pt;"&gt;"= &lt;SPAN style="color: #0000ff;"&gt;OSuser&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( ) " which returns the user ID, works fine, but my questions are&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1.What is the correct syntax to set the static filter for above example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2.What is the right place for the code? (Where is in QV an OnOpenTrigger on document level?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;3.How can it be prevented, that the filter is removed with the menu option "Clear"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kind regards&lt;/SPAN&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>Mon, 03 Mar 2014 11:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592208#M1111280</guid>
      <dc:creator />
      <dc:date>2014-03-03T11:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592209#M1111281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you need is section access in your applications. All other things like locking fields, linking objects on osuser(), using trigger could be useful for layout and usability but do not really prevent user for access data - see here and read it carefully:&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-1853"&gt;Introduction to Section Access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 13:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592209#M1111281</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-03-03T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592210#M1111282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your answer, Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any alternative (with less effort) to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hoped to get an answer like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Trigger OnOpenForm():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter:&lt;/P&gt;&lt;P&gt;If USERID = 'A' then&lt;/P&gt;&lt;P&gt;&amp;nbsp; set gloablfilter 'B'&amp;nbsp; on field 'C'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 15:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592210#M1111282</guid>
      <dc:creator />
      <dc:date>2014-03-03T15:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592211#M1111283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the document properties are a tab trigger. Here you could define an OnOpen-Trigger (sometimes OnOpen don't work and need a workaround like open within a landing page and using from an ActiveSheet-Trigger) which select/locked various fields and if you want on a user-level, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you have many fields and/or users this will be a lot of work, too. And it won't prevent advanced user to access other data as you want - unless you used section access. You will need it often in the future, so the current time invest will be repaid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 16:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592211#M1111283</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-03-03T16:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592212#M1111284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I strongly recommend using SECTION ACCESS as mentioned by Marcus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;However, if you wanted a shortcut then you can create a bookmark and assign this book on "OnOpen" event under Document Properties. You can also update/replace the bookmark and it's easy to manage compared to individual field selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 17:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592212#M1111284</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-03-03T17:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592213#M1111285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, Marcus, I will try your described procedure tomorrow.(Understanding that this is not the recommended &amp;amp; professional way, but helps for top urgent requirements)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Deepak, for your opinion. I fully agree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning the Bookmarks: I really like the bookmarks and I have implemented them already for one project. Very smart solution in QlikView!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again &amp;amp; Brgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592213#M1111285</guid>
      <dc:creator />
      <dc:date>2014-03-03T18:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Static Filter On Open Document</title>
      <link>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592214#M1111286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today I got a hint to use the option of data reduction in the QlikView management console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows to publish a QV document with a static filter (reduced data load) without extra effort in development, only one time effort to setup additional job in the QV management console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start QV Management Console -&amp;gt; Documents -&amp;gt; Select your source document -&amp;gt; Select "Add Task" (right side) -&amp;gt; Use Wizzard -&amp;gt; Select Option "Yes, distribute only parts of the document -&amp;gt; follow the Wizzard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks QlikView, you are a very smart tool! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Static-Filter-On-Open-Document/m-p/592214#M1111286</guid>
      <dc:creator />
      <dc:date>2014-03-05T10:24:38Z</dc:date>
    </item>
  </channel>
</rss>

