<?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: date values restriction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188674#M384250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like dim is date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And expression is simply call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year = {'=$(max(year))'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year = {'2016'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second expression will work, but first expression also can work until you don't have forecast data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how is your date field format looking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 13:46:54 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-09-20T13:46:54Z</dc:date>
    <item>
      <title>date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188670#M384246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lovely people,&lt;/P&gt;&lt;P&gt;I am using a date field in one of my graphs, this field contains many years. in my graph, all the years are displayed :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138021_Capture.PNG" style="height: 136px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to display only 2016 data.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;My date dimension :&lt;/P&gt;&lt;P&gt;=date(Floor([Date création]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188670#M384246</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-09-20T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188671#M384247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your expression is e.g. Sum(Sales) change it to&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(&lt;STRONG&gt;{&amp;lt;[Date création]={'&amp;gt;=1/1/2016'}&amp;gt;}&lt;/STRONG&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188671#M384247</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2016-09-20T13:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188672#M384248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script create this year field:&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; year( date(Floor([Date création])) ) as [Year création],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And put this as a field Dimension &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;=only({$&amp;lt;[Year création] = {2016}&amp;gt;} [Date création] )&lt;/P&gt;&lt;P&gt;Or in your expression add this set analysis in your expression&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Year création] = {2016}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Data Architect MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188672#M384248</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-09-20T13:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188673#M384249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a tag for 2016 Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188673#M384249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-20T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188674#M384250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like dim is date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And expression is simply call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year = {'=$(max(year))'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year = {'2016'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second expression will work, but first expression also can work until you don't have forecast data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how is your date field format looking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188674#M384250</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-20T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188675#M384251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is my expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(if(LONG_DESC_STATUS &amp;lt;&amp;gt; 'Demande traitée FO' AND LONG_DESC_STATUS &amp;lt;&amp;gt; 'Info fournie' AND LONG_DESC_STATUS &amp;lt;&amp;gt; 'Abandonné',CASE_ID ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188675#M384251</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-09-20T13:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188676#M384252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's my expression, how to update it :&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;=count(if(LONG_DESC_STATUS &amp;lt;&amp;gt; 'Demande traitée FO' AND LONG_DESC_STATUS &amp;lt;&amp;gt; 'Info fournie' AND LONG_DESC_STATUS &amp;lt;&amp;gt; 'Abandonné',CASE_ID ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188676#M384252</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-09-20T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188677#M384253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps 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: 28.6924px;"&gt;=count({&amp;lt;LONG_DESC_STATUS -= { 'Demande traitée FO', 'Info fournie', 'Abandonné'} &amp;gt;} CASE_ID )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 28.6924px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 28.6924px;"&gt;Or this for 2016 data only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 28.6924px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 44.5155px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({&amp;lt;LONG_DESC_STATUS -= { 'Demande traitée FO', 'Info fournie', 'Abandonné'}, year = {'2016'} &amp;gt;} CASE_ID )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188677#M384253</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-20T13:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: date values restriction</title>
      <link>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188678#M384254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;HI,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Shift this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;date(Floor([Date création])) &lt;/STRONG&gt;calculation to script level&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(Floor([Date création]))&amp;nbsp; as Created_Date&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;also calculate Year(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(Floor([Date création])) ) as YEAR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FROM Table;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Created_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;LONG_DESC_STATUS={'*'}-{'&lt;SPAN style="font-size: 13.3333px;"&gt;'Demande traitée FO'}, &lt;SPAN style="font-size: 13.3333px;"&gt;LONG_DESC_STATUS={'*'}-{&lt;SPAN style="font-size: 13.3333px;"&gt;'Info fournie'},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LONG_DESC_STATUS={'*'}-{&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;'Abandonné'},YEAR={$(=max(&lt;SPAN style="font-size: 13.3333px;"&gt;YEAR&lt;/SPAN&gt;))}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;CASE_ID )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Thanks,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;A _jive_internal="true" data-command="like" data-object-id="1126941" data-object-type="2" href="https://community.qlik.com/thread/233414" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;date values restriction&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-values-restriction/m-p/1188678#M384254</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-09-20T13:56:06Z</dc:date>
    </item>
  </channel>
</rss>

