<?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 set analysis variable Year Week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-variable-Year-Week/m-p/909298#M315760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; hi i would like to perform a point in time report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am currently trying to point back to the previous year and week based upon my selection.&lt;/P&gt;&lt;P&gt;my selection in this case is 201531 so i would like to return the values for 201431.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see my attempt below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&amp;lt;{&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[Year Week] = {$(=(Only(Year)-1)) &amp;amp; $(=Only(Week))}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 06:21:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-04T06:21:07Z</dc:date>
    <item>
      <title>set analysis variable Year Week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-variable-Year-Week/m-p/909298#M315760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; hi i would like to perform a point in time report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am currently trying to point back to the previous year and week based upon my selection.&lt;/P&gt;&lt;P&gt;my selection in this case is 201531 so i would like to return the values for 201431.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see my attempt below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&amp;lt;{&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[Year Week] = {$(=(Only(Year)-1)) &amp;amp; $(=Only(Week))}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 06:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-variable-Year-Week/m-p/909298#M315760</guid>
      <dc:creator />
      <dc:date>2015-08-04T06:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis variable Year Week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-variable-Year-Week/m-p/909299#M315761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try sum(&amp;lt;{&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;[Year Week] = {&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;$(=(Only(Year)-1)),$(=Only(Week))}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 08:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-variable-Year-Week/m-p/909299#M315761</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-04T08:35:20Z</dc:date>
    </item>
  </channel>
</rss>

