<?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: Getting Last year as reference line, when i select a year in field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683499#M455911</link>
    <description>&lt;P&gt;Venkatesh, are you still trying to figure things out on this post, or did you get something worked out?&amp;nbsp; If the latter, please consider posting what you did and then use the Accept as Solution button on it after you post it to mark the thread as complete.&amp;nbsp; If you still need further help, please reply to Arthur's last post with content of the two variables.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 20:02:01 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-03-10T20:02:01Z</dc:date>
    <item>
      <title>Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1674449#M455908</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I need to show the reference line of last year archived on selected year bar.&lt;/P&gt;&lt;P&gt;I am using as following&lt;/P&gt;&lt;P&gt;Dimension = FY ( nothing but year filed )&lt;/P&gt;&lt;P&gt;Expression = Num((Count($(vFormulaBelowPrfMin)) / $(vFormulaTotalProjects)), '###.0%')&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if i select FY = 2020, then bar will show the 2020 achieved %, Now i need to show the reference line on bar chart what is achieved as last year in 2019.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not getting the expression how to write for last year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please need help your guys..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 15:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1674449#M455908</guid>
      <dc:creator>VenkateshYarra</dc:creator>
      <dc:date>2020-02-11T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1674624#M455909</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What is the expression for these 2 variables?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$(vFormulaBelowPrfMin) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$(vFormulaTotalProjects)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 05:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1674624#M455909</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2020-02-12T05:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683499#M455911</link>
      <description>&lt;P&gt;Venkatesh, are you still trying to figure things out on this post, or did you get something worked out?&amp;nbsp; If the latter, please consider posting what you did and then use the Accept as Solution button on it after you post it to mark the thread as complete.&amp;nbsp; If you still need further help, please reply to Arthur's last post with content of the two variables.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 20:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683499#M455911</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-10T20:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683580#M455912</link>
      <description>&lt;P&gt;vFormulaBelowPrfMin=&lt;BR /&gt;&lt;BR /&gt;Aggr({&amp;lt;$(vCurrentTargetFoundation)=&amp;gt;} If((Sum(Aggr($(vCurrentTargetMinimum), %KEY_ISO_FyQ_SDconv_OLI)) &amp;gt; (Aggr($(vFormulaPRF), %KEY_ISO_FyQ_SDconv_OLI)) or IsNull(Aggr($(vCurrentTargetMinimum), %KEY_ISO_FyQ_SDconv_OLI)))&lt;BR /&gt;and (Aggr($(vFormulaPRF), %KEY_ISO_FyQ_SDconv_OLI)) &amp;gt; 0, [Opportunity Line Number], Null()), [Opportunity Line Number])&lt;/P&gt;&lt;P&gt;vFormulaTotalProjects=&lt;BR /&gt;Count(DISTINCT [Opportunity Line Number])&lt;/P&gt;&lt;P&gt;Below is the requirement. Please see the attached image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Line.PNG" style="width: 605px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29871i6DC5B686F260016B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line.PNG" alt="Line.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkatesh Yarra&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 06:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683580#M455912</guid>
      <dc:creator>VenkateshYarra</dc:creator>
      <dc:date>2020-03-11T06:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683616#M455913</link>
      <description>&lt;P&gt;I couldn't help if your variables are nested with another variables, unless you can provide a sample app.&lt;/P&gt;&lt;P&gt;Or maybe others can help.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 08:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683616#M455913</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2020-03-11T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683718#M455914</link>
      <description>&lt;P&gt;To Arthur's point, if you are using variables inside variables, that is a very dangerous thing to do, as there is no guarantee of the calculation order of things here, so if you have done that, you should likely try replacing the variables inside the other variables with their associated expressions etc. and see how things then work, about the best I can offer in addition to what Arthur stated just to try to clarify things a bit further.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 11:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683718#M455914</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-11T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last year as reference line, when i select a year in field</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683726#M455915</link>
      <description>&lt;P&gt;Sorry Arthur,&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't share the qvw file with sample data ( Due to my organization policy ). Any how it is huge data and coming from different qvd.&lt;/P&gt;&lt;P&gt;Any how i changed the view of the graph. Now i am not showing the last year data.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 11:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-year-as-reference-line-when-i-select-a-year-in/m-p/1683726#M455915</guid>
      <dc:creator>VenkateshYarra</dc:creator>
      <dc:date>2020-03-11T11:48:34Z</dc:date>
    </item>
  </channel>
</rss>

