<?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: Problem with search string with dates in trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563141#M210153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thank you for your quik answer. this is how I did.Using WeekstartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I am now allowed to use set analysis expressoins because I want to use 'filtered'WeekstartDate as a dimmension in a graph. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my option would be with a trigger.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 12:03:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-11T12:03:04Z</dc:date>
    <item>
      <title>Problem with search string with dates in trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563139#M210151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can you please suggest me a possible solution to my problem?&lt;/P&gt;&lt;P&gt;I have a master calendar based on 'myDate' with week(myDate), year (myDate), year-week etc. automatically generated for last 4 years. Works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, i want to have another listbox with year-week.Let's say Year-week2, indepedent from the one in master calendar.Based on this listbox's selection I want to select the previous 12 weeks from master calendar .&lt;/P&gt;&lt;P&gt;For example if I select in this listbox 2012-31, I want selected in my master calendar weeks between 2012-19 till 2012-30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;I created an autogenerated calendar for last 4 years based on myDate2. (to be independent from myDate).&lt;/P&gt;&lt;P&gt;Then I added a trigger&amp;nbsp; on YearWeek2 -&amp;gt;OnSelect&amp;gt; select in field YearWeek. But I got stuck in writing the search string. I want to have something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;='&amp;gt;=' &amp;amp; YearWeek2-12 &amp;amp; '&amp;lt;=' &amp;amp; YearWeek2-1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me? &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 11:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563139#M210151</guid>
      <dc:creator />
      <dc:date>2013-07-11T11:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search string with dates in trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563140#M210152</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First Create the Field in Master Calander as &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(MyDate)&amp;amp;'-'&amp;amp;Week(MyDate) as YearWeek.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also Create a new field called WeekStartDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStart(MyDate) as WeekStartDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now your expression should be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;WeekStartDate = {"&amp;lt;=$(=max(WeekStartDate))&amp;gt;=$(=max(WeekStartDate)-84)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,year=,Month=,YearWeek=,Week=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 11:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563140#M210152</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-11T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search string with dates in trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563141#M210153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thank you for your quik answer. this is how I did.Using WeekstartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I am now allowed to use set analysis expressoins because I want to use 'filtered'WeekstartDate as a dimmension in a graph. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my option would be with a trigger.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 12:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563141#M210153</guid>
      <dc:creator />
      <dc:date>2013-07-11T12:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search string with dates in trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563142#M210154</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With the expression I have given you can use the WeekStartDate in Dimension also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 12:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-search-string-with-dates-in-trigger/m-p/563142#M210154</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-11T12:06:11Z</dc:date>
    </item>
  </channel>
</rss>

