<?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 issue while comparing date analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241060#M394102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am new to qlik ,&lt;/P&gt;&lt;P&gt;i am having straight table in that i have to calculate the result on the basis of delivery date and payment date.&lt;/P&gt;&lt;P&gt;if payment date is greater than delivery date than it should give sum(final amount) my expression is below&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;paymentCompletionDateTime={"&amp;gt;$(=actualDeliveryDateTime)"}&amp;gt;}finalTotalAmount)&lt;/P&gt;&lt;P&gt;its giving me result&amp;nbsp; when i am selecting the true date in table&amp;nbsp; , otherwise its showing me 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2017 10:51:34 GMT</pubDate>
    <dc:creator>sunil1989</dc:creator>
    <dc:date>2017-03-07T10:51:34Z</dc:date>
    <item>
      <title>issue while comparing date analysis</title>
      <link>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241060#M394102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am new to qlik ,&lt;/P&gt;&lt;P&gt;i am having straight table in that i have to calculate the result on the basis of delivery date and payment date.&lt;/P&gt;&lt;P&gt;if payment date is greater than delivery date than it should give sum(final amount) my expression is below&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;paymentCompletionDateTime={"&amp;gt;$(=actualDeliveryDateTime)"}&amp;gt;}finalTotalAmount)&lt;/P&gt;&lt;P&gt;its giving me result&amp;nbsp; when i am selecting the true date in table&amp;nbsp; , otherwise its showing me 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 10:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241060#M394102</guid>
      <dc:creator>sunil1989</dc:creator>
      <dc:date>2017-03-07T10:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: issue while comparing date analysis</title>
      <link>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241061#M394103</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;If both field coming from same table then&lt;/P&gt;&lt;P&gt;create flag in script&amp;nbsp; like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(payment_date&amp;gt;delivery_date,'T','F') as flag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in front end use expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;flag={"T"}&amp;gt;}finalTotalAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 10:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241061#M394103</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-03-07T10:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: issue while comparing date analysis</title>
      <link>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241062#M394104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&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;&lt;EM&gt;=Sum({&amp;lt;paymentCompletionDateTime={"&lt;STRONG&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;paymentCompletionDateTime&lt;/SPAN&gt;&amp;gt;actualDeliveryDateTime&lt;/STRONG&gt;"}&amp;gt;}finalTotalAmount)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 10:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/issue-while-comparing-date-analysis/m-p/1241062#M394104</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-03-07T10:55:16Z</dc:date>
    </item>
  </channel>
</rss>

