<?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 with date limitation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642386#M235340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field, too, called SERVICE_DATE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 05:20:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-10T05:20:56Z</dc:date>
    <item>
      <title>Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642373#M235327</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 had a working set analysis expression that limited the date from the start of the fiscal year until today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({$&amp;lt;Abschlusstermin.P= {"&amp;gt;=$(=date('$(vFYStart)'),'YYYYMM')&amp;lt;=$(=date('$(vToday)'),'YYYYMM')"}&amp;gt;} [TCV Reportet (Produkt).P])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a while and several changes to the scripts and the front end, I figured out that the limitation is not working anymore, so it shows all TCV values, not only from FY start to today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is related to this change: the format for 'Abschlusstermin.P' in the load from was 'YYYYMM', now it's 'MM/YYYY'. I changed the expression to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({$&amp;lt;Abschlusstermin.P= {"&amp;gt;=$(=date('$(vFYStart)'),'MM/YYYY')&amp;lt;=$(=date('$(vToday)'),'MM/YYYY')"}&amp;gt;} [TCV Reportet (Produkt).P])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;, but this won't work. Any ideas what is going wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642373#M235327</guid>
      <dc:creator />
      <dc:date>2014-06-06T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642374#M235328</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;In Script how you created this format &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'MM/YYYY'&lt;/SPAN&gt; using date() or combination of Month() and Year()?&lt;/P&gt;&lt;P&gt;Or go and check in the Table viewer, hover the field &lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Abschlusstermin.P&lt;/SPAN&gt; and check the tags associated to it whether its $numeric?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642374#M235328</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-06-06T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642375#M235329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script, i convert from old to new format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(SF_TARGET.Monat,'YYYYMM'),'MM/YYYY') as Abschlusstermin.P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table viewer states Key, Numeric, Integer, Timestamp, Date,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642375#M235329</guid>
      <dc:creator />
      <dc:date>2014-06-06T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642376#M235330</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;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;sum({$&amp;lt;Abschlusstermin.P= {"&amp;gt;=$(=date(vFYStart,'MM/YYYY')&amp;lt;=$(=date(vToday, 'MM/YYYY')"}&amp;gt;} [TCV Reportet (Produkt).P])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;it will work if &lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;vFYStart&lt;/SPAN&gt; is created with proper date&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642376#M235330</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-06-06T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642377#M235331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not working, even if I replace both variables with '01.04.2014' and '05.06.2014'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642377#M235331</guid>
      <dc:creator />
      <dc:date>2014-06-06T09:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642378#M235332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;sum({$&amp;lt;Abschlusstermin.P= {"&amp;gt;='$(=date(vFYStart,'MM/YYYY')'&amp;lt;='$(=date(vToday, 'MM/YYYY')'"}&amp;gt;} [TCV Reportet (Produkt).P])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Upload your sample app to look in to this further&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642378#M235332</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-06-06T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642379#M235333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I tried to create a simple one. Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642379#M235333</guid>
      <dc:creator />
      <dc:date>2014-06-06T11:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642380#M235334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;Abschlusstermin= {"&amp;gt;=$(=date(vFYStart,'MM/YYYY'))&amp;lt;$(=date(vToday, 'MM/YYYY'))"}&amp;gt;} TCV)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642380#M235334</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-06T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642381#M235335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really close to what I'm looking for, thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have target values to calculate the same way, problem is for the year-to-date I would need to add the current month, currently only the last two months are calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the expression above with the TCV, I also need to calculate to the current day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642381#M235335</guid>
      <dc:creator />
      <dc:date>2014-06-06T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642382#M235336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an additional equal sign '=' would be required, like:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Abschlusstermin= {"&amp;gt;=$(=date(vFYStart,'MM/YYYY'))&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;$(=date(vToday, 'MM/YYYY'))"}&amp;gt;} TCV)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642382#M235336</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-06T11:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642383#M235337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working fine for the target values, what about the TCV stuff above? It seems that if I add the '=' sign, it calculates for the whole June, but I only need everything until vToday ('06.06.2014').&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642383#M235337</guid>
      <dc:creator />
      <dc:date>2014-06-06T11:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642384#M235338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then it needs date field, not possible with Year month field. Here you can't decide the data that falls up to today.&lt;/P&gt;&lt;P&gt;May be the below will help you&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 16:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642384#M235338</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-06-06T16:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642385#M235339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a date field, not just MMYYYY, to accomplish what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 16:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642385#M235339</guid>
      <dc:creator />
      <dc:date>2014-06-06T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642386#M235340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field, too, called SERVICE_DATE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 05:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642386#M235340</guid>
      <dc:creator />
      <dc:date>2014-06-10T05:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with date limitation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642387#M235341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Then try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;sum({$&amp;lt;Abschlusstermin.P=, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SERVICE_DATE&lt;/SPAN&gt;= {"&amp;gt;=$(=date('$(vFYStart)'),&lt;STRONG&gt;'DD/MM/YYYY'&lt;/STRONG&gt;)&amp;lt;=$(=date('$(vToday)'),&lt;STRONG&gt;'DD/MM/YYYY'&lt;/STRONG&gt;)"}&amp;gt;} [TCV Reportet (Produkt).P])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;Where 'DD/MM/YYYY' this format should be same as the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SERVICE_DATE&lt;/SPAN&gt; field date format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 05:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-date-limitation/m-p/642387#M235341</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-06-10T05:24:34Z</dc:date>
    </item>
  </channel>
</rss>

