<?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: Issue with previous month set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657539#M675367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jun 2014 09:17:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-28T09:17:46Z</dc:date>
    <item>
      <title>Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657534#M675362</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;I have an issue with getting a previous month set analysis formula. Have been reading the different topics on this without success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to build a dynamic previous date function that will receive a value from the previous month. If the user chose period 201403, the value for 201402 should appear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Period is YYYYMM format. I get the previous month by using: Date#(Period, 'YYYYMM')-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm not able to get any values on the previous month, I'm using this set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Period = {"$(=Date#(Period,'YYYYMM')-1)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankful for any input on how to get this correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 07:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657534#M675362</guid>
      <dc:creator />
      <dc:date>2014-06-26T07:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657535#M675363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis doesn't evaluate row-wise. Try :&lt;/P&gt;&lt;P&gt;= Above(Sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 07:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657535#M675363</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-26T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657536#M675364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"&gt;Thanks for your reply. Let me be more precise; the&lt;BR /&gt;end result should dynamically show the % - change between the current and&lt;BR /&gt;previous month, preferably in a KPI text-box. Ex. When the user selects 201403,&lt;BR /&gt;the % change from 201402 should automaticcaly appear. That’s why I'm interested&lt;BR /&gt;in getting the set-analysis above to work. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"&gt;Any input on how to solve this? I’m really struggling&lt;BR /&gt;to see why the set analysis does not work properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"&gt;/Nikals&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657536#M675364</guid>
      <dc:creator />
      <dc:date>2014-06-27T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657537#M675365</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;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYYMM') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;D:\QV\CanalDigital\TESTQV.xlsx&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; load like above and create a variable &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Let v1=max(Period)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then try the expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;sum({&amp;lt;Period={'$(=v1-1)'}&amp;gt;}Amount}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;may be helpfull&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657537#M675365</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-27T13:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657538#M675366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a text box the sum of previous period should be (just replace your Date# with Date)&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Period = {"$(=Date(Period,'YYYYMM')-1)"}&amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 20:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657538#M675366</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-27T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with previous month set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657539#M675367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 09:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-set-analysis/m-p/657539#M675367</guid>
      <dc:creator />
      <dc:date>2014-06-28T09:17:46Z</dc:date>
    </item>
  </channel>
</rss>

