<?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: Current sales &amp; previous sales  calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64647#M10756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Process Date Time]&lt;/SPAN&gt; &amp;gt;$(vMinDate) and&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process Date Time]&lt;/SPAN&gt; &amp;lt;$(vMaxDate) ,&lt;/P&gt;&lt;P&gt;sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Item Gross Price]))&amp;nbsp; , 0&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Process Date Time]&lt;/SPAN&gt; &amp;gt;'2012-02-02' and&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process Date Time]&lt;/SPAN&gt; &amp;lt;'2012-02-28' ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Item Gross Price]))&amp;nbsp; , 0&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2018 12:32:08 GMT</pubDate>
    <dc:creator>prma7799</dc:creator>
    <dc:date>2018-03-07T12:32:08Z</dc:date>
    <item>
      <title>Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64646#M10755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have date&amp;nbsp; dimension and i want to calculate current sales &amp;amp; previous sales from one date to another date.&lt;/P&gt;&lt;P&gt;In that case, how can i write the&amp;nbsp; exact expression for that???&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-[Process Date Time] is my date dimension.&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;if ([Process Date Time] between ?Start? and ? End?) then ([Item Gross Price]) else (0)---this is my Sql Query, so how can i implement this into Qlik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 12:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64646#M10755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T12:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64647#M10756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Process Date Time]&lt;/SPAN&gt; &amp;gt;$(vMinDate) and&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process Date Time]&lt;/SPAN&gt; &amp;lt;$(vMaxDate) ,&lt;/P&gt;&lt;P&gt;sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Item Gross Price]))&amp;nbsp; , 0&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Process Date Time]&lt;/SPAN&gt; &amp;gt;'2012-02-02' and&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process Date Time]&lt;/SPAN&gt; &amp;lt;'2012-02-28' ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Item Gross Price]))&amp;nbsp; , 0&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 12:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64647#M10756</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2018-03-07T12:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64648#M10757</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;you can try with set analysis for best performance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create two variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStart= &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;start date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vEnd= &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;end date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Process Date Time]&lt;/SPAN&gt;= {"&amp;gt;=$(=vStart)&amp;lt;=$(=vEnd)"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Item Gross Price]&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64648#M10757</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-07T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64649#M10758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have separate start date and end date column, i have only only date range column(Procees date time)'&lt;/P&gt;&lt;P&gt;In that case how can i create variable ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64649#M10758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-08T08:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64650#M10759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I don't have separate start date and end date column, i have only only date range column(Procees date time)'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In that case how can i create variable ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64650#M10759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-08T08:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64651#M10760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VMINDATE=MIN(DATE(PRROCESS DATE TIME),'DD/MM/YYYY'))&lt;/P&gt;&lt;P&gt;VMAXDATE=MAX&lt;SPAN style="font-size: 13.3333px;"&gt;(DATE(PRROCESS DATE TIME),'DD/MM/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64651#M10760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-08T08:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64652#M10761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can User an input field to set your Min and Max variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart type.png" class="jive-image image-1" src="/legacyfs/online/195654_Chart type.png" style="height: 52px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64652#M10761</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Current sales &amp; previous sales  calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64653#M10762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMinDate&amp;nbsp; &lt;/SPAN&gt;=MIN(DATE(PRROCESS DATE TIME),'DD/MM/YYYY'))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxDate &lt;/SPAN&gt;=MAX&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(DATE(PRROCESS DATE TIME),'DD/MM/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;and use it &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-sales-previous-sales-calculation/m-p/64653#M10762</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2018-03-08T09:01:39Z</dc:date>
    </item>
  </channel>
</rss>

