<?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: Dynamic Month as calculate dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322409#M835732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still from a visual point of view it looks bad. Label is not under bar and the line is not from beginning to end of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164536_chart3.png" style="width: 620px; height: 332px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jacek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 07:39:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-24T07:39:54Z</dc:date>
    <item>
      <title>Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322405#M835728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was stuck with one problem, I don't know how to create dynamic calculate dimension. Like you see image, I want to create dimension based od selected date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression for Month = Date={"&amp;gt;$(=Date(Max(Date-30)))&amp;lt;=$(=Max(Date))"}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the expression for Month -1 = Date={"&amp;gt;$(=Date(Max(Date-60)))&amp;lt;=$(=Date(Max(Date-30)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the expression for Month -2 = Date={"&amp;gt;$(=Date(Max(Date-90)))&amp;lt;=$(=Date(Max(Date-60)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the expression for Month -3 = Date={"&amp;gt;$(=Date(Max(Date-120)))&amp;lt;=$(=Date(Max(Date-90)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the expression for Month -4 = Date={"&amp;gt;$(=Date(Max(Date-150)))&amp;lt;=$(=Date(Max(Date-120)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the expression for Month -5 = Date={"&amp;gt;$(=Date(Max(Date-180)))&amp;lt;=$(=Date(Max(Date-150)))"}&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;Is it possible to create a dynamic month dimension?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164451_Chart.png" style="height: auto;" /&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/Dynamic-Month-as-calculate-dimension/m-p/1322405#M835728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322406#M835729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Date &amp;gt; (Max(TOTAL Date) - 30) and &lt;SPAN style="font-size: 13.3333px;"&gt;Date &amp;lt;= (Max(TOTAL Date)), Dual('Month', 1),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Date &amp;gt; (Max(TOTAL Date) - 60) and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date &amp;lt;= (Max(TOTAL Date) - 30), Dual('Month - 1', 2),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Date &amp;gt; (Max(TOTAL Date) - 90) and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date &amp;lt;= (Max(TOTAL Date) - 60), Dual('Month - 2', 3),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Date &amp;gt; (Max(TOTAL Date) - 120) and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date &amp;lt;= (Max(TOTAL Date) - 90), Dual('Month - 3', 4),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Date &amp;gt; (Max(TOTAL Date) - 150) and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date &amp;lt;= (Max(TOTAL Date) - 120), Dual('Month - 4', 5),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(Date &amp;gt; (Max(TOTAL Date) - 180) and &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Date &amp;lt;= (Max(TOTAL Date) - 150), Dual('Month - 5', 6)))))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 15:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322406#M835729</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-23T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322407#M835730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have now "special dimension" but bars on the graph are not aligned to the middle. On the graph you see 7 expressions, how to move bars on middle of dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164533_chart2.png" style="height: 368px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jacek&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322407#M835730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322408#M835731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing the orientation of 'X' axis label this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164529_Capture.PNG" style="height: 415px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322408#M835731</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2017-05-24T07:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322409#M835732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still from a visual point of view it looks bad. Label is not under bar and the line is not from beginning to end of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164536_chart3.png" style="width: 620px; height: 332px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jacek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322409#M835732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T07:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322410#M835733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, if the previous solution doesn't work for you try this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Uncheck the Show Legend check box to turn off the 'X' axis labels on chart.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164544_Capture.PNG" style="height: 366px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Then, Add text which will be your labels for 'X' axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/164546_Capture.PNG" style="height: 546px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;the newly added text would appear on TOP LEFT side of your chart&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/164547_Capture.PNG" style="height: 191px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click anywhere on chart to activate it and then press CTRL + SHIFT and you will see a red line around different objects in text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/164548_Capture.PNG" style="height: 193px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, Keep pressing CTRL + SHIFT and now you can drag this text box anywhere you want. You can then add more labels and put them at right place using this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/164552_Capture.PNG" style="height: 240px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322410#M835733</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2017-05-24T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322411#M835734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if changing the style from grouped to stacked helps.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322411#M835734</guid>
      <dc:creator />
      <dc:date>2017-05-24T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Month as calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322412#M835735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super trick. Thank you for your help. Big plus for you and Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final effect:&lt;IMG alt="chart4.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164557_chart4.png" style="width: 620px; height: 340px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jacek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 08:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Month-as-calculate-dimension/m-p/1322412#M835735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T08:18:33Z</dc:date>
    </item>
  </channel>
</rss>

