<?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 Set analysis to exclude values from previous fiscal year ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312211#M115270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out indirect set analysis P and E. That might help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post a file folks on the community can answer better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 04:51:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-11T04:51:49Z</dc:date>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312208#M115267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the req is as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the dates mentioned below&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/1/2007 to 4/30/2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; falls in&amp;nbsp; &lt;STRONG&gt;fiscal year2007&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/1/2008 to 4/30/2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; falls in&amp;nbsp; &lt;STRONG&gt;fiscal year2008 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/1/2008 to 4/30/2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; falls in&amp;nbsp; &lt;STRONG&gt;fiscal year2009&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/1/2009 to 4/30/2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; falls in&amp;nbsp; &lt;STRONG&gt;fiscal year2010 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; There is a field called &lt;STRONG&gt;EndDate&lt;/STRONG&gt;&amp;nbsp; , which contains the dates on which the membership&amp;nbsp; ended&amp;nbsp; for a person .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is when i choose 2007, &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;I only want&amp;nbsp; records whos&lt;/STRONG&gt;e&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp; Enddates &lt;/STRONG&gt;fall in the fiscal year 2007 ,&amp;nbsp; people whose membership ended in the previous&amp;nbsp; fiscal year 2006 should be excluded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the below expression , I've been banging my head all day&amp;nbsp;&amp;nbsp; ;(&amp;nbsp; to implement the above requiremnt into the expression below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(&lt;/P&gt;&lt;P&gt;{$&amp;lt;INDACCOUNTNUMBER={"=COUNT({1&amp;lt;Techniques.TECHNIQUETYPE={'AF&amp;nbsp; WLI'},Techniques.CAMPAIGNYEAR={'&amp;lt;=$(=vCampaignYearSelected)'}&amp;gt;}Techniques.TECHNIQUETYPE)&amp;gt;0&lt;/P&gt;&lt;P&gt;"}&lt;/P&gt;&lt;P&gt;,CAMPAIGNYEAR={$(vCampaignYearSelected)}&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;LSIndiv.COMBINEDGIFT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 22:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312208#M115267</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-11-10T22:09:07Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312209#M115268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be a bit tricky to evaluate without seing your datat model. Please attach a sample QVW, including the object where you are adding the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 22:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312209#M115268</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-11-10T22:20:32Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312210#M115269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me simplify the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(LSIndiv.COMBINEDGIFT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 22:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312210#M115269</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-11-10T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312211#M115270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out indirect set analysis P and E. That might help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post a file folks on the community can answer better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 04:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312211#M115270</guid>
      <dc:creator />
      <dc:date>2011-11-11T04:51:49Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312212#M115271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible and simplified solution could be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add the fiscal year to your EndDate data table, e.g. &lt;STRONG&gt;EndDateFiscalYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use a variable to keep track of your selected calendar year, &lt;/P&gt;&lt;P&gt;e.g. &lt;STRONG&gt;vSelectedYear = GetFieldSelections(CalendarYear)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Use the variable to pick out your fiscal end dates; &lt;STRONG&gt;Sum( { $&amp;lt;EndDateFiscalYear={'$(vSelectedYear)'}&amp;gt;} LSIndiv.COMBINEDGIFT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is really hard and time consuming to assume what will work in your scenario, so a sample of the QVW including your datat model would really be needed in order to give a more exact answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 08:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312212#M115271</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-11-11T08:11:56Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312213#M115272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony and Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thank you for your suggestion , unfortunately the data model i'm using is too big and complex to upload, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But thank you for trying to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 15:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312213#M115272</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-11-11T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312214#M115273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using yearstart and yearend might help you. You can use those to define the fiscal year, and then do something like enddate&amp;gt;=yearstart and enddate&amp;lt;=yearend. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 15:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312214#M115273</guid>
      <dc:creator />
      <dc:date>2011-11-11T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312215#M115274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you could do in order to limit the QVW size, is to make as many selection as possible that still will present the problem you have encountered. Then you simply save the file as a new file and reduce it to only contain the possible values based on your current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File &amp;gt; Reduce Data &amp;gt; Keep Possible Values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 20:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312215#M115274</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-11-11T20:10:37Z</dc:date>
    </item>
    <item>
      <title>Set analysis to exclude values from previous fiscal year ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312216#M115275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the solution in the following thread ..&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/164762#164762"&gt;http://community.qlik.com/message/164762#164762&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By swuel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx&lt;/P&gt;&lt;P&gt;M S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 00:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-exclude-values-from-previous-fiscal-year/m-p/312216#M115275</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2011-11-14T00:23:41Z</dc:date>
    </item>
  </channel>
</rss>

