<?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: Reference line only for current year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447100#M1162592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there rebeccad and thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not what i am looking for but fortunately i can explain whan i need with an example that was made by you.&lt;/P&gt;&lt;P&gt;What i want is the&amp;nbsp; same thing as demonstraden in your double line example but the period format will be like 2012-1.&lt;/P&gt;&lt;P&gt;You can notice that the actual is zero when i am in 2013 and i have forecast quantity but thats not correct the actual should equal &lt;/P&gt;&lt;P&gt;with the forcast value.I used the expressions mentioned in my earlier post in order to make it work but no luck. Oh one other thing the &lt;/P&gt;&lt;P&gt;reference line should be vertical and indicate todays date.....Thats all i hope you can help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikolaos Kavroulakis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 08:47:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-19T08:47:00Z</dc:date>
    <item>
      <title>Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447095#M1162587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a horizontal reference line in my x axis for the currenr date only. The problem is that by using an expression like =num(month(Today())) and having the month numbers on x-axis i create a reference line for all my years an not only the current....I have also tried =Year(Today()) expression in conditional but does not seem to work.Any ideas???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 11:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447095#M1162587</guid>
      <dc:creator />
      <dc:date>2012-12-18T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447096#M1162588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At least can anyone tell me if i have date format like : 1- 2009&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2- 2009&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...........&lt;/P&gt;&lt;P&gt;in x-axis is there any way to put in a reference line??? There is&amp;nbsp; a restriction of all the x-axis values to be numeric so&lt;/P&gt;&lt;P&gt;what can i do.????&lt;/P&gt;&lt;P&gt;I tried the expression =num(month(Today())) + num(Year(Today())) but with no success....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 14:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447096#M1162588</guid>
      <dc:creator />
      <dc:date>2012-12-18T14:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447097#M1162589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For you rfirst question, create a variable for your expression and then reference the variable.&amp;nbsp; This way it will only equal one data point. For the second, I am not very clear on what you need. Can you upload a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 14:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447097#M1162589</guid>
      <dc:creator />
      <dc:date>2012-12-18T14:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447098#M1162590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the first question I made the variable vTODAY = date(today(),'YYYY-MM') is there any way to compare dates?? For example 2012-1&amp;gt;2013-1.I tried &lt;STRONG style="color: #000000;"&gt;=if(date(b.TestMonthYear)&amp;lt;date(vTODAY),sum(b.QtyInvoiced),sum(b.ForecastQty))&lt;/STRONG&gt;&amp;nbsp; but doesnot seem to work .&lt;/P&gt;&lt;P&gt;I also tried &lt;STRONG style="color: #000000;"&gt;=if( 'b.TestMonthYear' &amp;lt; 'vTODAY', sum(b.QtyInvoiced),sum(b.ForecastQty)) &lt;/STRONG&gt; which gives all correct results appart from the year 2013 when it gives 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second question in this particular case the x-axis will contain the dimention Date which will have the format 1-2012,2-2012...1-2013...etc ....but there is a restriction in reference lines refering to the x-axis which contain continuous numeric values so can i implement that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 16:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447098#M1162590</guid>
      <dc:creator />
      <dc:date>2012-12-18T16:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447099#M1162591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this is what you are looking for.&amp;nbsp; I used max(Date) for my date instead of Today(), just because I don't have data through today, but you could change that to suit your needs. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447099#M1162591</guid>
      <dc:creator />
      <dc:date>2012-12-18T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447100#M1162592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there rebeccad and thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not what i am looking for but fortunately i can explain whan i need with an example that was made by you.&lt;/P&gt;&lt;P&gt;What i want is the&amp;nbsp; same thing as demonstraden in your double line example but the period format will be like 2012-1.&lt;/P&gt;&lt;P&gt;You can notice that the actual is zero when i am in 2013 and i have forecast quantity but thats not correct the actual should equal &lt;/P&gt;&lt;P&gt;with the forcast value.I used the expressions mentioned in my earlier post in order to make it work but no luck. Oh one other thing the &lt;/P&gt;&lt;P&gt;reference line should be vertical and indicate todays date.....Thats all i hope you can help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikolaos Kavroulakis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447100#M1162592</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reference line only for current year</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447101#M1162593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I manage to implement the first part of my question by using the expression &lt;STRONG style="color: #000000;"&gt;=if( SubField(b.TestMonthYear,'-',1) &amp;lt;= SubField(vTODAY,'-',1),if(SubField(b.TestMonthYear,'-',2) &amp;lt; SubField(vTODAY,'-',2),sum(b.QtyInvoiced),sum(b.ForecastQty)) ,sum(b.ForecastQty)) &lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;although i do not &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;realise what was the problem,propable something with date comparison...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Refering to the vertical reference line is it possible to put it in without having continuous numeric filed in x-axis but having date format like 2012-12???&lt;/SPAN&gt;&lt;STRONG style="color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 09:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-only-for-current-year/m-p/447101#M1162593</guid>
      <dc:creator />
      <dc:date>2012-12-19T09:40:10Z</dc:date>
    </item>
  </channel>
</rss>

