<?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: Set Analysis to make the date selection base on anther Date Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320260#M118021</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2011 06:43:13 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-10-07T06:43:13Z</dc:date>
    <item>
      <title>Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320258#M118019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my example , these is Column SDate and EDate&amp;nbsp; and the dashboard , there is only one Year and Month selection for the user &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of my report is base on the SDate and some of the report is base on the EDate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to use to set analysis to override the date selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; count({&amp;lt;YearSDate=,MonthSDate=,YearEDate={$(=vYear)},MonthEDate={$(=vMonth)}&amp;gt;}recCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now using a variable to store the selection , it can make it work when both Year and Month is selected .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However ,if no Year or Month is selection , all record are filtered out. That the problem ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 02:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320258#M118019</guid>
      <dc:creator />
      <dc:date>2011-10-07T02:39:58Z</dc:date>
    </item>
    <item>
      <title>Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320259#M118020</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 suggest that you make vYear and vMonth based on the maximum date, rather than the selected date. They will then contain the most recent date if nothing is selected, or the selected date if one date is selected, or the most recent selected date if multiple days are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 05:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320259#M118020</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-10-07T05:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320260#M118021</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 06:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320260#M118021</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-10-07T06:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320261#M118022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i have more detail on the function p() please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;End_Date = p(Date)&amp;gt;}Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320261#M118022</guid>
      <dc:creator />
      <dc:date>2011-10-07T07:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320262#M118023</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Function p() is used when you need to have set expression on set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here in our example p() function includes all the dates from the DataIsland table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let me explain you the expession working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the expression written we are saying that give me the sum of values where the End_Date is ( include all the Date) Here the date is coming from DataIsland table. So when you select the month shown in example the Dates withh get filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consider you selected Jan. So your Date Field will contains the date from 1st Jan 2011to 31 Jan 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So now you will get the sum of values for the end_Date where month is Jan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this is clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320262#M118023</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-10-07T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320263#M118024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more question ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My situation is,&amp;nbsp; there are 20 reports for my dashboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17 of it is using&amp;nbsp; EDate and only 3 reports are looking at the SDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i using the DataIsland&amp;nbsp; for the selection, every report i will need to add the set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i trying to use the&amp;nbsp; DataIsland&amp;nbsp; for that 3 reports only . The dashboard keep using the EDate for selection so no change for that 17 reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i select the Time Dimension , i add action to select the same value on the dataIsland .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i face the problem of mult-selection . When i select 2 Year , the action can't select perform the same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 02:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320263#M118024</guid>
      <dc:creator />
      <dc:date>2011-10-10T02:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320264#M118025</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;&amp;nbsp;&amp;nbsp; Will you please tell me in what way you are trying to implement it., So that i can suggest you any solution for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 04:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320264#M118025</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-10-10T04:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to make the date selection base on anther Date Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320265#M118026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached the example file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When multi-selection , there would be the problem &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 08:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-make-the-date-selection-base-on-anther-Date/m-p/320265#M118026</guid>
      <dc:creator />
      <dc:date>2011-10-10T08:14:57Z</dc:date>
    </item>
  </channel>
</rss>

