<?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: set analysis for six months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820463#M1037296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;=sum({$&amp;lt;Orderedyear= {'&amp;gt;=$(=num(addmonths(today(),-6)))'}&amp;gt;}Budget)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; mso-ansi-language: EN-GB; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 13:24:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-20T13:24:29Z</dc:date>
    <item>
      <title>set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820459#M1037292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the following 2 expressions:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;OrderYear = {$(=max(OrderYear))}&amp;gt;} AMOUNT) // summary of sales for the latest year&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;OrderYear = {$(vBudgetYear)}&amp;gt;} Budget) //vBudgetYear is defined as one year before of the latest year (so I'd have a full year of budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sum the budget (second line)&amp;nbsp; only for the first 6 months (Jan to Jun - the amount of months I have in the current year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write the set analysis for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Assaf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 12:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820459#M1037292</guid>
      <dc:creator />
      <dc:date>2015-01-20T12:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820460#M1037293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Assaf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you are fixing budget?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think monthly wise right? Is total budget of the year you calculating like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAN + FEB+MAR+APR+MAY+JUNE+..................................DEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 12:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820460#M1037293</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-01-20T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820461#M1037294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The budget is monthly, so I need a set analysis for OrderMonth. and not hard coded, of course.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 12:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820461#M1037294</guid>
      <dc:creator />
      <dc:date>2015-01-20T12:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820462#M1037295</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Orderedyear= {'&amp;gt;=$(=Max(YearStart(today())))&amp;lt;=$(=max(monthend(today()))-6)'}&amp;gt;}Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820462#M1037295</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-01-20T13:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820463#M1037296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;=sum({$&amp;lt;Orderedyear= {'&amp;gt;=$(=num(addmonths(today(),-6)))'}&amp;gt;}Budget)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; mso-ansi-language: EN-GB; font-family: 'Helvitica','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820463#M1037296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-20T13:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820464#M1037297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Assaf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry a small mistake,neetha corrected it.But take it as 7 for june month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$&amp;lt;Orderedyear= {'&amp;gt;=$(=Max(YearStart(today())))&amp;lt;=$(=max(monthend(today(),-7)))'}&amp;gt;}Budget)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820464#M1037297</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-01-20T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820465#M1037298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried this:&lt;/P&gt;&lt;P&gt;='sum({$&amp;lt;OrderYear = {$(vBudgetYear)},&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;OrderMonth = {'&amp;gt;={1} &amp;lt;= {6}'}&amp;gt;}Budget)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even this won't work.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820465#M1037298</guid>
      <dc:creator />
      <dc:date>2015-01-20T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820466#M1037299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({$&amp;lt;OrderYear = {$(vBudgetYear)}, OrderMonth = {'Jan','Feb','Mar','Apr','May','Jun'}&amp;gt;} Budget)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820466#M1037299</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2015-01-20T13:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis for six months</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820467#M1037300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got it to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;OrderYear = {$(vBudgetYear)}, OrderMonth = { '&amp;gt;=$(v1stMonth) &amp;lt;=$(vlastMonth)'} &amp;gt;} Budget)&lt;/P&gt;&lt;P&gt;v1stMonth = num(month(date(39820))) // I needed January.....&lt;/P&gt;&lt;P&gt;vlastmonth =num(month(max(OrderDate)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 08:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-for-six-months/m-p/820467#M1037300</guid>
      <dc:creator />
      <dc:date>2015-01-21T08:09:05Z</dc:date>
    </item>
  </channel>
</rss>

