<?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: Calculation for in month using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-for-in-month-using-set-analysis/m-p/497010#M185827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr does not accept the set analysis. Sum does.&lt;/P&gt;&lt;P&gt;So I would move the Set Analysis statement into the the Sum section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2013 08:57:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-08T08:57:57Z</dc:date>
    <item>
      <title>Calculation for in month using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-for-in-month-using-set-analysis/m-p/497009#M185826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a statement which calculates the delayed orders as below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(If((inLeveransDatum - Lev_Leveranstid)&amp;gt; Villkor_inlev, 1, 0), [%InLevNr]))' with month as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wish for this statement to be for the previous month in a table without the month dimension but my syntax is incorrect&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr{&amp;lt;inLeveransDatumMonth={'&amp;gt;=$(=max(inLeveransDatumMonth)-1)&amp;lt;=$(=max(inLeveransDatumMonth)-1)'}&amp;gt;} If((inLeveransDatum - Lev_Leveranstid)&amp;gt; Villkor_inlev, 1, 0), [%InLevNr]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 08:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-for-in-month-using-set-analysis/m-p/497009#M185826</guid>
      <dc:creator />
      <dc:date>2013-11-08T08:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation for in month using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-for-in-month-using-set-analysis/m-p/497010#M185827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr does not accept the set analysis. Sum does.&lt;/P&gt;&lt;P&gt;So I would move the Set Analysis statement into the the Sum section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 08:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-for-in-month-using-set-analysis/m-p/497010#M185827</guid>
      <dc:creator />
      <dc:date>2013-11-08T08:57:57Z</dc:date>
    </item>
  </channel>
</rss>

