<?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: rolling 6 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40458#M772247</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;Thanks for the inputs..It's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to display the in between periods as well like columns july 2017,aug 2017.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the approaches as suggeted in earlier,it will show only 6th month.ut ineed tomshow in between months as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rules : Table straight table.Already having another dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlkk.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202495_qlkk.png" style="height: 172px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 10:46:52 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2018-05-16T10:46:52Z</dc:date>
    <item>
      <title>rolling 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40455#M772244</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;We have used the below expression to get the resuts as per business rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We got a requirement that we need to show the results roll banck to 6 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plase help me how to get the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logic used :&lt;/STRONG&gt; =&amp;nbsp; IF(isnull(num(sum({$&amp;lt;[Month Abbr]=, Year=, [Quarter Name]=, [Calendar Date]={'$(=$(TestDate))'}&amp;gt;}[LS Open]),'#,##0')),&lt;/P&gt;&lt;P&gt;Null(), &lt;/P&gt;&lt;P&gt;Num( num(sum({$&amp;lt;[Month Abbr]=, Year=, [Quarter Name]=, [Calendar Date]={'$(=$(TestDate))'}, [LS Age ]={1}&amp;gt;} [LS Open]),'#,##0')&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;num(sum({$&amp;lt;[Month Abbr]=, Year=, [Quarter Name]=, [Calendar Date]={'$(=$(TestDate))'}&amp;gt;}[LS Open]),'#,##0'),'#,###0.0%'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(TestDate)&lt;/STRONG&gt; = Date(Addmonths(max({$&amp;lt;[# QN Open]={1}&amp;gt;}[Calendar Date]), -1, 1), 'DD-MMM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40455#M772244</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: rolling 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40456#M772245</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;to be able to rollback using set analysis, yo have two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. use Month_year or Year_month field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use Date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your actual expression, you're detaching Year and Month fields from the expression and you're setting a specific date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to be able to roll back, I think you can use your date field, but remove that variable and replace it with something like:&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; font-size: 13px;"&gt;&lt;STRONG&gt;[Calendar Date]={'&amp;gt;$(=AddMonths(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Calendar Date]&lt;/SPAN&gt;),-6))&amp;lt;=$&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(=max([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calendar Date&lt;/SPAN&gt;]))&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;'}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 10:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40456#M772245</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-05-16T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: rolling 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40457#M772246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6px; font-family: inherit;"&gt;nareshthavidishetty ,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6px; font-family: inherit;"&gt;Please use below code and convert your expression like below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Sum({&amp;lt;&lt;STRONG&gt;DateField={"&amp;gt;=$(=addmonths(max(DateField),-5))&amp;lt;=$(=max(DateField))"},&lt;/STRONG&gt;Year=,Month=,Quarter=&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #444444; background-color: #e6e6e6;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Arvind Patil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 10:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40457#M772246</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2018-05-16T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: rolling 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40458#M772247</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;Thanks for the inputs..It's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to display the in between periods as well like columns july 2017,aug 2017.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the approaches as suggeted in earlier,it will show only 6th month.ut ineed tomshow in between months as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rules : Table straight table.Already having another dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlkk.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202495_qlkk.png" style="height: 172px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 10:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-6-months/m-p/40458#M772247</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2018-05-16T10:46:52Z</dc:date>
    </item>
  </channel>
</rss>

