<?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 Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405283#M804411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Is their any way to define dynamically instead of &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;31/12/2017.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 07:12:59 GMT</pubDate>
    <dc:creator>bhavvibudagam</dc:creator>
    <dc:date>2017-11-03T07:12:59Z</dc:date>
    <item>
      <title>Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405279#M804404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me on this.&lt;/P&gt;&lt;P&gt;I have a date field contains the dates from &lt;STRONG&gt;1/1/2016&lt;/STRONG&gt; to &lt;STRONG&gt;1/1/2017.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects date/Month before 31st December 2017 it should executes first expression like&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Group={'&lt;SPAN style="font-size: 13.3333px;"&gt;Entertainment&lt;/SPAN&gt;'}&amp;gt;}[MAINID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When the user selects date/Month after 31st December 2017 it should executes second expression like&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Group={'&lt;SPAN style="font-size: 13.3333px;"&gt;Food&lt;/SPAN&gt;','Clothes'}&amp;gt;}[MAINID])&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please suggest the solution to implement dynamically with the dates selection.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405279#M804404</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405280#M804406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Something like this maybe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(=IF(Max(DateField)&amp;lt;=vDateLimit,[Group={'Entertainment'}],[Group={'Food','Clothes'}])&amp;gt;} [MAINID] ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 04:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405280#M804406</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-11-03T04:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405281#M804407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Perhaps this? I remind you just pay with date format&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;If(datefield &amp;lt;= '31/12/2017', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;Group={'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Entertainment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 28.6924px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;'}&amp;gt;}[MAINID]), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;Group={'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Food&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;','Clothes'}&amp;gt;}[MAINID]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 04:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405281#M804407</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-03T04:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405282#M804409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;I would suggest you to create flag in the script and handle this &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;in the script level&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;datefield &amp;lt;= '31/12/2017',1,2) as Date_Flag&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;in the front end use this flag like this , this work for month , date selections also&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;if(concat(DISTINCT &lt;EM style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Date_Flag)=1,&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; color: #3d3d3d;"&gt;Sum({&amp;lt;Group={'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; color: #3d3d3d;"&gt;Entertainment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;'}&amp;gt;}[MAINID]), &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Sum({&amp;lt;Group={'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Food&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;','Clothes'}&amp;gt;}[MAINID]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 05:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405282#M804409</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-11-03T05:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405283#M804411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Is their any way to define dynamically instead of &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;31/12/2017.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 07:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405283#M804411</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2017-11-03T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405284#M804413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;You could use a variable for the same and use input box to set the variable so that it would be dynamic &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 07:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405284#M804413</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-11-03T07:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405285#M804421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, why not like yearend(today()).. Of not, I would ask business?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 07:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405285#M804421</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-03T07:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405286#M804425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Just wondering to know how you went about this one,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Luis&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;PS. When applicable please mark the appropriate replies as Correct. This will help community members know which discussions have already been addressed and have a possible known solution. Please mark replies as Helpful if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as Helpful if you feel additional info is useful to others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 22:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Function/m-p/1405286#M804425</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-11-21T22:47:34Z</dc:date>
    </item>
  </channel>
</rss>

