<?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 Expression for Traling days and months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885052#M308685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daily Data Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(Max(Date) - 14, 'YYYYMMDD') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'YYYYMMDD'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monthly Data Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;=Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(AddYears(MonthEnd(Max(Date)), -1), 'YYYYMMDD') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date)), 'YYYYMMDD'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;STRONG style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 21:57:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-23T21:57:26Z</dc:date>
    <item>
      <title>Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885050#M308683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want get sum(sales) for the following daily and monthly data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daily data.&lt;/P&gt;&lt;P&gt;1) at first loading, I want to get 14 days of data from max date of data.&lt;/P&gt;&lt;P&gt;for example, if max date of data is 20150602 then the answer should be from 20150519 to 20150602.&lt;/P&gt;&lt;P&gt;2) if I select the date 20140501 then the answer should be from 20140418 to 20140501&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monthly Data&lt;/P&gt;&lt;P&gt;1) at first loading, I want to get 12 months of data from max date of the month of data.&lt;/P&gt;&lt;P&gt;for example, if max date of data is 20150602 then the answer should be from 201407 to 201506.&lt;/P&gt;&lt;P&gt;2) if I select the month 201405 then the answer should be from 201306 to 201505&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would be really great if you can help me out on this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 21:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885050#M308683</guid>
      <dc:creator />
      <dc:date>2015-06-23T21:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885051#M308684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the below linked thread has tons of information on what you are looking for.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/135468"&gt;Show rolling 12 Months only for last 12 months.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 21:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885051#M308684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T21:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885052#M308685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daily Data Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(Max(Date) - 14, 'YYYYMMDD') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'YYYYMMDD'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monthly Data Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;=Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(AddYears(MonthEnd(Max(Date)), -1), 'YYYYMMDD') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date)), 'YYYYMMDD'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;STRONG style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 21:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885052#M308685</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-23T21:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885053#M308686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. That helped a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 01:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885053#M308686</guid>
      <dc:creator />
      <dc:date>2015-06-25T01:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885054#M308687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. Your guide made it clear my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 01:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885054#M308687</guid>
      <dc:creator />
      <dc:date>2015-06-25T01:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Traling days and months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885055#M308688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Young,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Sunny helped you to solve the problem, give the correct answer credit to him/her. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 03:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-for-Traling-days-and-months/m-p/885055#M308688</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-25T03:26:38Z</dc:date>
    </item>
  </channel>
</rss>

