<?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: Sales Comparison based on introduction date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308588#M843268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion, this is because when choosing one product in Set Analisys expression we get specific values of the analysis boundaries, and when several values are selected, we get a certain set of boundary values and QlikView, conditionally speaking, does not know exactly what values to use in calculations. Therefore, returns, as usual in such cases, null values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 07:37:54 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-04-25T07:37:54Z</dc:date>
    <item>
      <title>Sales Comparison based on introduction date</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308587#M843266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently in a sticky situation...Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 products (column name Part_Desc) PA, PB, PC, PD, PE whose introduction dates (column name Intro_Date) are 01/01/2015, 01/05/2015, 01/09/2016, 01/01/2017, 01/04/2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 variables to identify the start and end date of comparison.&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; variable1:- vPIP_Intro_Date = '=Intro_Date'&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; variable2:- vPIP_Compare_Until_Date = '=Addmonths(vPIP_Intro_Date,3)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Invoice_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;gt;=$(=vPIP_Intro_Date) &amp;lt;=$(=vPIP_Compare_Until_Date)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Invoiced Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression does work when 1 product is used, but fails when multiple products are selected. Am I writing the variable incorrectly or is it the expression. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the below expression but in vain.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Invoice_Date = {'&amp;gt;=Intro_Date &amp;lt;=$(Addmonths(Intro_Date,2))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;SM&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/Sales-Comparison-based-on-introduction-date/m-p/1308587#M843266</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Comparison based on introduction date</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308588#M843268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion, this is because when choosing one product in Set Analisys expression we get specific values of the analysis boundaries, and when several values are selected, we get a certain set of boundary values and QlikView, conditionally speaking, does not know exactly what values to use in calculations. Therefore, returns, as usual in such cases, null values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308588#M843268</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-04-25T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Comparison based on introduction date</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308589#M843270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your comments. Yes, I learned the hard way that Set analysis cannot calculate a value for month per row and had to introduce an IF statement and aggr it to make it work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 09:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Comparison-based-on-introduction-date/m-p/1308589#M843270</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2017-04-28T09:24:17Z</dc:date>
    </item>
  </channel>
</rss>

