<?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: Add depending on dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361460#M825044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to load only those data where date&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Start) = Date(Finsh) in Script level. And check the&amp;nbsp; Simple Straight table.&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: 13px;"&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: 13px;"&gt;&lt;STRONG&gt;Name and Sum(Number)&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;Thanks ,&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;Arvind Patil&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 07:51:33 GMT</pubDate>
    <dc:creator>arvind_patil</dc:creator>
    <dc:date>2017-07-25T07:51:33Z</dc:date>
    <item>
      <title>Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361458#M825042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;I'm trying to add values depending on whether the dates are the same or not, for example, i have a QVD with a table that contains the following dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; height: 69px; width: 376px;" width="374"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Name&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Start&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Finish&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Number&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Name 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Name 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/02/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11/12/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Name 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use this expression If(date(Start,'DD/MM/YYYY') = date(Finish,&lt;SPAN style="font-size: 13.3333px;"&gt;'DD/MM/YYYY'&lt;/SPAN&gt;), Sum(Number))&amp;nbsp; does not show the result in the pivot table, and i trying to show the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid #000000; width: 186px; height: 43px;" width="184"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Total Number&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Name 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;!&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/Add-depending-on-dates/m-p/1361458#M825042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361459#M825043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Start={"=Start=Finish"}&amp;gt;}Number)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361459#M825043</guid>
      <dc:creator>pathiqvd</dc:creator>
      <dc:date>2017-07-25T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361460#M825044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to load only those data where date&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Start) = Date(Finsh) in Script level. And check the&amp;nbsp; Simple Straight table.&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: 13px;"&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: 13px;"&gt;&lt;STRONG&gt;Name and Sum(Number)&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;Thanks ,&lt;/STRONG&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: 13px;"&gt;&lt;STRONG&gt;Arvind Patil&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361460#M825044</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-25T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361461#M825045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try adding a flag when you load your qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Start=Finish, 1, 0) as StartEqualsFinish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use this in an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;StartEqualsFinish={'1'}&amp;gt;} Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361461#M825045</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-07-25T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361462#M825046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;may be like this&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: 13px;"&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: 13px;"&gt;sum({&amp;lt;Start=&lt;STRONG&gt;p(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Finish&lt;/SPAN&gt;)&lt;/STRONG&gt;&amp;gt;}Number)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361462#M825046</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-25T09:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add depending on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361463#M825047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for yours answers!!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 12:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-depending-on-dates/m-p/1361463#M825047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T12:54:56Z</dc:date>
    </item>
  </channel>
</rss>

