<?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: based on other date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124819#M370351</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;i need sales based on the delivery date between the range of date i selected .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 06:14:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-12T06:14:30Z</dc:date>
    <item>
      <title>based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124815#M370347</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;I have 5 tables and are linked with each other on a common field .. All these 5 tables have date field each which are linked to master calender. Out of 5 tables , one of the table is show below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;id,&lt;/P&gt;&lt;P&gt;orderdate as date&lt;/P&gt;&lt;P&gt;delivery date ,&lt;/P&gt;&lt;P&gt;sales&lt;/P&gt;&lt;P&gt;from qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master calender has date, year,month day based on the table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now , i need the sum of sales and distinct id where the delivery dates is with in the 60 days from the&amp;nbsp; date selected&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select 04/14/2016 , then i need sum of sale &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;distinct id&lt;/SPAN&gt; where delivery date is in between 04/14/2016 to 06/14/2016 .&lt;/P&gt;&lt;P&gt;if i select month as Apr, &lt;SPAN style="font-size: 13.3333px;"&gt;then i need sum of sale &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;distinct id&lt;/SPAN&gt; where delivery date is in between 04/01/2016 to 05/31/2016 .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124815#M370347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124816#M370348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By using set analysis we can achieve&lt;/SPAN&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124816#M370348</guid>
      <dc:creator />
      <dc:date>2016-05-11T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124817#M370349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&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;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date = {"&amp;gt;=$(=Date(Max(Date)-60)&amp;lt;=(=Date(Max(Date)))"}&amp;nbsp; &amp;gt;} &lt;/SPAN&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count( DISTINCT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date = {"&amp;gt;=$(=Date(Max(Date)-60)&amp;lt;=(=Date(Max(Date)))"}&amp;nbsp; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124817#M370349</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-11T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124818#M370350</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;thanks for reply ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried but failed .. but u help me in providing the set analysis expression .. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 18:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124818#M370350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-11T18:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124819#M370351</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;i need sales based on the delivery date between the range of date i selected .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 06:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124819#M370351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-12T06:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: based on other date</title>
      <link>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124820#M370352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;above expression is for the 60 days date range only &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;...are you selecting both the &lt;STRONG&gt;START and END date ??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if that is the case capture the selection in variable and try like this &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; color: #3d3d3d;"&gt;Sum({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Date = {"&amp;gt;=(='$(vStartdate)')&amp;lt;=(=(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;'$(vEnddate)&lt;/SPAN&gt;))"}&amp;nbsp; &amp;gt;} &lt;/SPAN&gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;count( DISTINCT &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; color: #3d3d3d;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; color: #3d3d3d;"&gt;Date = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;{"&amp;gt;=(='$(vStartdate)')&amp;lt;=(=(=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;'$(vEnddate)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;))"}&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; color: #3d3d3d;"&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 06:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/based-on-other-date/m-p/1124820#M370352</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-12T06:22:42Z</dc:date>
    </item>
  </channel>
</rss>

