<?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 Compare fields in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-fields-in-set-analysis/m-p/224322#M76746</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 have 2 fields in my table : Project Completion Date and Project due date. Now I need sum of all rows for which the Project completion date &amp;gt; project due date. I tried using the following set analysis but it didnt work.&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[PPO Indicator] = {Close},[Project Status] = {Completed},[Project Completion Date]={"&amp;gt;=$(=[Project Due Date])"} &amp;gt;}[Value])&lt;/P&gt;&lt;P&gt;The user does not select any values in these fields.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2009 12:28:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-26T12:28:27Z</dc:date>
    <item>
      <title>Compare fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-fields-in-set-analysis/m-p/224322#M76746</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 have 2 fields in my table : Project Completion Date and Project due date. Now I need sum of all rows for which the Project completion date &amp;gt; project due date. I tried using the following set analysis but it didnt work.&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[PPO Indicator] = {Close},[Project Status] = {Completed},[Project Completion Date]={"&amp;gt;=$(=[Project Due Date])"} &amp;gt;}[Value])&lt;/P&gt;&lt;P&gt;The user does not select any values in these fields.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 12:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-fields-in-set-analysis/m-p/224322#M76746</guid>
      <dc:creator />
      <dc:date>2009-10-26T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Compare fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-fields-in-set-analysis/m-p/224323#M76747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not really clear, but I think this is the wrong part:&lt;/P&gt;&lt;P&gt;[Project Completion Date]={"&amp;gt;=$(=[Project Due Date])"}&lt;/P&gt;&lt;P&gt;If I understand correctly, you use a dollar sign expansion without reason, IMO.&lt;/P&gt;&lt;P&gt;It should be [Project Completion Date]={"=([Project Completion Date]&amp;gt;=[Project Due Date])"}&lt;/P&gt;&lt;P&gt;This (should) select the rows having PCD greater than PDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 17:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-fields-in-set-analysis/m-p/224323#M76747</guid>
      <dc:creator />
      <dc:date>2009-10-26T17:10:22Z</dc:date>
    </item>
  </channel>
</rss>

