<?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: Date as dimension but showing only month in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997208#M527724</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;if you use a master calendar add an additional field&amp;nbsp; (e.g. dspMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14450035143756195 jive_text_macro" jivemacro_uid="_14450035143756195"&gt;
&lt;P&gt;Cal:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(If(Day(Date) = 1, MonthName(Date), ''), Date) as dspMonth // Reference on 1st day&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use dspMonth as Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the reference on the 15th day use&lt;/P&gt;&lt;P&gt;If(Day(Date) = 15, ...&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;If(Day(Date) = 1 or Day(Date) = 15, ...&lt;/P&gt;&lt;P&gt;if you want two references.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sebastian Lettner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 14:02:41 GMT</pubDate>
    <dc:creator>sebastianlettner</dc:creator>
    <dc:date>2015-10-16T14:02:41Z</dc:date>
    <item>
      <title>Date as dimension but showing only month in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997207#M527723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Is it possible to have a linechart with date as a hidden dimension but displaying month as kind of a reference to what dates are displayed?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'll try to visualize what I'm trying to accomplish&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Qcommunity.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102221_Qcommunity.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In this example I have selected Jan, Feb, Mar and Apr. The reference can be either on the first or 15 doesn't really matter.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Any help is appreciated&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 11:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997207#M527723</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-10-16T11:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date as dimension but showing only month in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997208#M527724</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;if you use a master calendar add an additional field&amp;nbsp; (e.g. dspMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14450035143756195 jive_text_macro" jivemacro_uid="_14450035143756195"&gt;
&lt;P&gt;Cal:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(If(Day(Date) = 1, MonthName(Date), ''), Date) as dspMonth // Reference on 1st day&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use dspMonth as Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the reference on the 15th day use&lt;/P&gt;&lt;P&gt;If(Day(Date) = 15, ...&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;If(Day(Date) = 1 or Day(Date) = 15, ...&lt;/P&gt;&lt;P&gt;if you want two references.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sebastian Lettner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 14:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997208#M527724</guid>
      <dc:creator>sebastianlettner</dc:creator>
      <dc:date>2015-10-16T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date as dimension but showing only month in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997209#M527725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting approach. I will try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding an extra expression with "text on axis"&lt;/P&gt;&lt;P&gt; if(right(%Date,2)=15,MonthShort,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works just as I want it but the text is &lt;SPAN style="text-decoration: line-through;"&gt;Strike through&lt;/SPAN&gt; and I can't manage to remove it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give your example a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 14:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997209#M527725</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-10-16T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date as dimension but showing only month in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997210#M527726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sebastian,&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is nice.&amp;nbsp; I have done similar before in the front end, but your way in the load script is much easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 16:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-as-dimension-but-showing-only-month-in-chart/m-p/997210#M527726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T16:54:16Z</dc:date>
    </item>
  </channel>
</rss>

