<?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: Add Months to a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184559#M383406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried this expression in a calculated dimension instead of a conditional show ?&lt;/P&gt;&lt;P&gt;So, instead of using 'Month' as a dimension, try using '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AddMonths($(Min_Start_Date),12)' as a calculated dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 14:52:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-14T14:52:57Z</dc:date>
    <item>
      <title>Add Months to a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184558#M383405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview user &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field called Month which I would like to use as the dimension in my chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data set spans from May-15 - Sep 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to place set analysis on my Month dimension so that the dimension only shows the from May-16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have Month added as a dimension and in the Enable Conditional I have the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddMonths($(Min_Start_Date),12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Min_Start_Date is the minimum date in the data set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me try to achieve my requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184558#M383405</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-09-14T14:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add Months to a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184559#M383406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried this expression in a calculated dimension instead of a conditional show ?&lt;/P&gt;&lt;P&gt;So, instead of using 'Month' as a dimension, try using '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AddMonths($(Min_Start_Date),12)' as a calculated dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184559#M383406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-14T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add Months to a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184560#M383407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using the above expression in the Enable condition. This is not where you would want to use this. Try may be using a calculated dimension (this would replace your Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(AddMonths(Min(TOTAL DateField), 1) &amp;gt;= DateField, DateField)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then select 'Suppress When Value Is Null' on the dimension tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184560#M383407</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-14T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add Months to a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184561#M383408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;should you want to try this without using a calculated dimension (purely for performance gains should it be slow) you could put it inside set analysis as follows&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum({&amp;lt;MyDate={'&amp;gt;=$(vMyDate)'}&amp;gt;}MyColumn)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;vMyDate will contain the date you want to show from and in your case is the result of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AddMonths($(Min_Start_Date),12).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;you will need to put in all your expressions to limit them all. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Months-to-a-dimension/m-p/1184561#M383408</guid>
      <dc:creator>tracysmart</dc:creator>
      <dc:date>2016-09-14T15:06:22Z</dc:date>
    </item>
  </channel>
</rss>

