<?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 Help with Set Analysis - 13 months previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535949#M439151</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use a simple set analysis function to return a figure from 13 months ago.&lt;/P&gt;&lt;P&gt;I have a master calendar with "MonthID" and just need to return the sum of LineInvoiceAmount.&lt;/P&gt;&lt;P&gt;Here's what I thought would work:&lt;/P&gt;&lt;PRE&gt;=sum({&amp;lt;[MonthID]={"=(only({1&amp;lt;DateID={'$(=num(date(today(1))))'}&amp;gt;}[MonthID] )-13)"},Description=&amp;gt;}LineInvoiceAmount)&lt;/PRE&gt;&lt;P&gt;I can enter :&lt;/P&gt;&lt;PRE&gt;"=(only({1&amp;lt;DateID={'$(=num(date(today(1))))'}&amp;gt;}[MonthID] )-13)"&lt;/PRE&gt;&lt;P&gt;into a text box and return the correct MonthID and I can filter on that MonthID manually and return the correct results, but I can't seem to get the function to work.&lt;/P&gt;&lt;P&gt;Any help wold be appreciated&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:38:32 GMT</pubDate>
    <dc:creator>chris1987</dc:creator>
    <dc:date>2024-11-16T04:38:32Z</dc:date>
    <item>
      <title>Help with Set Analysis - 13 months previous</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535949#M439151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use a simple set analysis function to return a figure from 13 months ago.&lt;/P&gt;&lt;P&gt;I have a master calendar with "MonthID" and just need to return the sum of LineInvoiceAmount.&lt;/P&gt;&lt;P&gt;Here's what I thought would work:&lt;/P&gt;&lt;PRE&gt;=sum({&amp;lt;[MonthID]={"=(only({1&amp;lt;DateID={'$(=num(date(today(1))))'}&amp;gt;}[MonthID] )-13)"},Description=&amp;gt;}LineInvoiceAmount)&lt;/PRE&gt;&lt;P&gt;I can enter :&lt;/P&gt;&lt;PRE&gt;"=(only({1&amp;lt;DateID={'$(=num(date(today(1))))'}&amp;gt;}[MonthID] )-13)"&lt;/PRE&gt;&lt;P&gt;into a text box and return the correct MonthID and I can filter on that MonthID manually and return the correct results, but I can't seem to get the function to work.&lt;/P&gt;&lt;P&gt;Any help wold be appreciated&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535949#M439151</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2024-11-16T04:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - 13 months previous</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535954#M439152</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;=Sum({&amp;lt;[MonthID] = {"$(=Only({1&amp;lt;DateID = {'$(=Num(Today(1)))'}&amp;gt;}[MonthID]) - 13)"}, Description&amp;gt;} LineInvoiceAmount)&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Jan 2019 13:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535954#M439152</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-28T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis - 13 months previous</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535962#M439153</link>
      <description>&lt;P&gt;Genius &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://community.qlik.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; Thanks Sunny&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 13:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis-13-months-previous/m-p/1535962#M439153</guid>
      <dc:creator>chris1987</dc:creator>
      <dc:date>2019-01-28T13:52:15Z</dc:date>
    </item>
  </channel>
</rss>

