<?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 Select last 7 Days in QlikView Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209797#M503010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can definately achieve this by the use of set analysis and it's also easy. All you need to do is a bit of r &amp;amp; d. If you face problem in set analysis kindly tell me and will be providing you with all the coding part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 12:37:03 GMT</pubDate>
    <dc:creator>gauravkhare</dc:creator>
    <dc:date>2010-09-20T12:37:03Z</dc:date>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209796#M503009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;is it possible to select only the data for the last week (or last 7 Days) in a QlikView Document, when opening it - automatically?&lt;BR /&gt;I saw the document triggers, but I dont know how to achieve this.&lt;/P&gt;&lt;P&gt;Maybe theres another way?&lt;BR /&gt;Would be nice, if someone could help me out with an example or something else.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209796#M503009</guid>
      <dc:creator />
      <dc:date>2010-09-20T12:29:59Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209797#M503010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can definately achieve this by the use of set analysis and it's also easy. All you need to do is a bit of r &amp;amp; d. If you face problem in set analysis kindly tell me and will be providing you with all the coding part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209797#M503010</guid>
      <dc:creator>gauravkhare</dc:creator>
      <dc:date>2010-09-20T12:37:03Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209798#M503011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont have any idea how to make this.&lt;/P&gt;&lt;P&gt;Would be nice if you could provide me an example or something else.&lt;BR /&gt;I have a table, which get the newest data from our database.&lt;BR /&gt;One column is the "Createn Date" (for example: 09/01/2010). I want, that only the data from the last 7 Days are selected when opening the document or when reloading it.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209798#M503011</guid>
      <dc:creator />
      <dc:date>2010-09-20T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209799#M503012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ,&lt;/P&gt;&lt;P&gt;I implemented same scenario with primavera.&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;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;"WORK_YEAR"). &lt;B&gt;Select&lt;/B&gt; ActiveDocument.Evaluate("Current_Year" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"WORK_WEEK"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;). &lt;B&gt;Select&lt;/B&gt; ActiveDocument.Evaluate("LastWeek" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"WORK_DAY"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;). &lt;B&gt;Select&lt;/B&gt; ActiveDocument.Evaluate("LastWeek" &lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 13:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209799#M503012</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-09-20T13:00:01Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209800#M503013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;thanks for your answer and your suggestion. I tried your code in the module, but I dont know what I have to change, that it's working for my QlikView Document.&lt;/P&gt;&lt;P&gt;I attached a screenshot with a short description, so maybe you can tell me what I have to change in your code to get it to work.&lt;/P&gt;&lt;P&gt;Thank you very much&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5732.Forum-Bild.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5732.Forum-Bild.JPG" /&gt;&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 13:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209800#M503013</guid>
      <dc:creator />
      <dc:date>2010-09-20T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209801#M503014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently experiencing a similar problem myself. I have created some flags in my load script which assigns a 1 against each date of last week but am struggling to find a flawless way of using it in a trigger or a macro. It seems like if you have a conflicting date selected, it won't work.&lt;/P&gt;&lt;P&gt;Yesterdays date will work: =only({1&amp;lt;DateYesterday = {'1'}&amp;gt;} Date (DateYesterday is another flag). The 1 in the set overrides a conflicting date already selected. But, you cannot use 'only' and have it select more than one date i.e. for each date of last week.&lt;/P&gt;&lt;P&gt;Perhaps if you have a week dimension you could do something like =only({1&amp;lt;DateLastWeek = {'1'}&amp;gt;} Week but if you only have a date dimension in your app it will not work.&lt;/P&gt;&lt;P&gt;I'll carry on trying to find a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 14:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209801#M503014</guid>
      <dc:creator />
      <dc:date>2010-09-20T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209802#M503015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do a selection for the field based on a search expression. For example, if your date field is named &lt;EM&gt;xxDate&lt;/EM&gt; then make a listbox for the xxDate field, then type in &lt;STRONG&gt;=xxDate&amp;gt;now()-7&lt;/STRONG&gt; That should select the dates you are interested in. Then, make a bookmark (this will work best if xxDate is the only field selected). The bookmark will save the selection expression. Now you can set up a trigger and define the action as applying that bookmark. Make the trigger an &lt;EM&gt;On Open&lt;/EM&gt; trigger so that it is applied when the document is opened. You can remove the listbox you created -- it is only needed as a place to enter the expression and check the result.&lt;/P&gt;&lt;P&gt;The nice thing about this solution is that it doesn't require any macro or module code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 15:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209802#M503015</guid>
      <dc:creator />
      <dc:date>2010-09-20T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209803#M503016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;Nice idea but will this override any conflicting date selections already made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 15:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209803#M503016</guid>
      <dc:creator />
      <dc:date>2010-09-20T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209804#M503017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search expressions like that work within existing selections. So, if you already have a selection of dates from last February then the expression to select dates from the last seven days will not select anything (that is, it will not change your current selections). In a situation like that you must clear the selections on that field first. That is still something you can do with a triggered action.&lt;/P&gt;&lt;P&gt;As with &lt;EM&gt;ANY&lt;/EM&gt; suggestions or solutions you find in this forum-- test them yourself in your own environment to make sure they satisfy your particular requirements!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 16:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209804#M503017</guid>
      <dc:creator />
      <dc:date>2010-09-20T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209805#M503018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;thank you very much for your suggestion.&lt;BR /&gt;One more question. I created a listbox with my date field.&lt;BR /&gt;Where I have to enter now the expression you provided "&lt;STRONG&gt;=DATEFIELD&amp;gt;now()-7"&lt;/STRONG&gt; to get the right selections?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 07:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209805#M503018</guid>
      <dc:creator />
      <dc:date>2010-09-21T07:34:35Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209806#M503019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do a search and then bookmark it. So, select the object and start typing. This solution will give you a running 7 day dynamic selection.&lt;/P&gt;&lt;P&gt;Presumably, if you wanted to do a last full week selection, it's possible using this method. You would have to tweek the expression accordingly but I've not tried it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 09:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209806#M503019</guid>
      <dc:creator />
      <dc:date>2010-09-21T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209807#M503020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using a listbox, just click on the titlebar of the listbox to activate it, then start typing. Make sure the first character you type is an equal sign, = , so that QlikView knows you are typing an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 21:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209807#M503020</guid>
      <dc:creator />
      <dc:date>2010-09-21T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209808#M503021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this to select the current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=week(now())=week(Datum) and year(now())=year(Datum)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 15:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209808#M503021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-29T15:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select last 7 Days in QlikView Document</title>
      <link>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209809#M503022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thanks to Tim for his solution. This helped me figure something out that I was trying to do in the module for a while and is actually achievable without the bookmark solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On open you can set a 'Select in Field' action on the desired field, then use the following as your search string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='=DATEFIELD&amp;gt;([Today] - [DaySelect])'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 'Today' is today's date and 'DaySelect' is the number of days you wish to subtract from the current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks to Tim to providing the solution. This just possibly neatens things up a bit &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, 06 Jul 2011 16:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-last-7-Days-in-QlikView-Document/m-p/209809#M503022</guid>
      <dc:creator />
      <dc:date>2011-07-06T16:31:08Z</dc:date>
    </item>
  </channel>
</rss>

