<?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 Date selection question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-selection-question/m-p/518402#M483527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have an autogenerated master-calendar for last&amp;nbsp; 4 year which includes: year,quarter,month and week.&lt;/P&gt;&lt;P&gt;Can you please help me, I couldn't found a solution to:&lt;/P&gt;&lt;P&gt;select from a listbox a week and the result of my selection to be weeks from [Week selected-12;Week selected]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 22:52:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-27T22:52:28Z</dc:date>
    <item>
      <title>Date selection question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-selection-question/m-p/518402#M483527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have an autogenerated master-calendar for last&amp;nbsp; 4 year which includes: year,quarter,month and week.&lt;/P&gt;&lt;P&gt;Can you please help me, I couldn't found a solution to:&lt;/P&gt;&lt;P&gt;select from a listbox a week and the result of my selection to be weeks from [Week selected-12;Week selected]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 22:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-selection-question/m-p/518402#M483527</guid>
      <dc:creator />
      <dc:date>2013-06-27T22:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date selection question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-selection-question/m-p/518403#M483528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but it's not clear to me what you want. Do you want to change the selection in the Week field or do you want the result of an expression to be based on the last 13 weeks leading up to the selected week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first option you need to add a Select in Field action to the OnSelect field trigger of the Week field. The search string would be something like: &lt;EM&gt;='&amp;gt;=$(=only(Week)-12)&amp;lt;=$(=only(Week))'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second option you'd add a set modifier to your expression. For example &lt;EM&gt;sum(Sales)&lt;/EM&gt; would become &lt;EM&gt;sum({&amp;lt;Week={'&amp;gt;=$(=only(Week)-12)&amp;lt;=$(=only(Week))'}&amp;gt;}Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more help read this document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 18:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-selection-question/m-p/518403#M483528</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-28T18:53:35Z</dc:date>
    </item>
  </channel>
</rss>

