<?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: Calculated dimension for 6 month from Max date. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359601#M823969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression and date field should be converted into month format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={'&amp;gt;=$(=only(Month)-6)&amp;lt;=$(=only(Month))'}&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 11:37:16 GMT</pubDate>
    <dc:creator>rammuthiah</dc:creator>
    <dc:date>2017-07-24T11:37:16Z</dc:date>
    <item>
      <title>Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359592#M823960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a help to show last six months data from max date. I have a data from Jan-2015 to&amp;nbsp; Dec- 2019. I want show the Jun 2019 to Dec-2019 using Bar chart. i need calculated dimension to show.&amp;nbsp; Would really appreciate your help.&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/Calculated-dimension-for-6-month-from-Max-date/m-p/1359592#M823960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359593#M823961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't prefer to use Calc. Dimension and it kills performance. If so, you can use in script too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this in Set analysis? I assume, you have good Date format.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Months = {"&amp;gt;=$(=AddMonths(Max(Months),-6)) &amp;lt;=$(=Max(Months))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If not, Use this?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Months = {"&amp;gt;=$(=Date(AddMonths(Max(Months),-6),'MMM YYYY')) &amp;lt;=$(=Date(Max(Months),'MMM YYYY'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359593#M823961</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-24T10:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359594#M823962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello take month in dimension and in expression you can write set analysis like&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={"&amp;lt;=Month(Today())&amp;gt;=Month(AddMonths(Today(),-5))"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is just an idea , you may need to modify expression.Try if not works send qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359594#M823962</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-24T10:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359595#M823963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you r replay.&lt;/P&gt;&lt;P&gt;I am not using any aggregate functions. i have using the below for first 6 months from today.&lt;/P&gt;&lt;P&gt;=if(vdate &amp;lt;= today()+150 and vdate&amp;nbsp; &amp;gt; today(), date(vdate,'MMM-YY'))&lt;/P&gt;&lt;P&gt;like this, I need to show the data&amp;nbsp; from max - 6 month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359595#M823963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T10:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359596#M823964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder, Why do you need this without Aggregation functions. Some how, For your question may be use this for Months as Calc. Dim ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;only({&amp;lt;Date={"&amp;gt;=$(=AddMonths(Months,-6))) &amp;lt;= $(=Max(Months))"}&amp;gt;} Months)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;aggr(only({&amp;lt;Date={"&amp;gt;=$(=AddMonths(Max(Months),-6)) &amp;lt;= $(=Max(Months))"}&amp;gt;} Months),Months)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359596#M823964</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-24T10:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359597#M823965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi consider this. Replace POSTING_DATE with the date parameter you have.Month, Day, Quarter are the parameters to give Month, day and Quarter selection. Kindly ignore Month=,Day=,Quarter= if you don't want&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Calender_Date ={'&amp;gt;=$(=Monthstart(max(POSTING_DATE),-5)) &amp;lt;=$(=max(POSTING_DATE))'},POSTING_DATE=,&lt;/P&gt;&lt;P&gt;Month=,Day=,Quarter=&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359597#M823965</guid>
      <dc:creator />
      <dc:date>2017-07-24T10:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359598#M823966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working. i want to show last six months from Max date.&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;=if(End_date &amp;lt;= today()+150 and End_date&amp;nbsp; &amp;gt; today(), date(End_date,'MMM-YY'))&lt;/SPAN&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;the dimension returns only last six months from the end date. If the last date is Dec- 2019. Then, i need to show Jun-2019 to Dec-2019. month as a dimension.&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; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359598#M823966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359599#M823967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attached qvw with some dummy data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359599#M823967</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-24T11:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359600#M823968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share application that may trigger your issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359600#M823968</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-24T11:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359601#M823969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression and date field should be converted into month format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={'&amp;gt;=$(=only(Month)-6)&amp;lt;=$(=only(Month))'}&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359601#M823969</guid>
      <dc:creator>rammuthiah</dc:creator>
      <dc:date>2017-07-24T11:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension for 6 month from Max date.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359602#M823970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please find the attached app, this app has two charts first one show today+ 6 months data.&lt;/P&gt;&lt;P&gt;Second one is need to show last six months from end date.&lt;/P&gt;&lt;P&gt;Thanks in advance@Anil Babu Samineni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="font-size: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 18:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-for-6-month-from-Max-date/m-p/1359602#M823970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T18:10:35Z</dc:date>
    </item>
  </channel>
</rss>

