<?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: Comparing dates with Set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378957#M31269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would just to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Authorized_by_company] &amp;lt;= [Approved_by_company], 1, 0) as comparisonFlag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;DateType = {'CompanyApproved'}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;comparisonFlag &lt;/STRONG&gt;&lt;/SPAN&gt;= {1}&lt;/SPAN&gt;&amp;gt;} ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 16:48:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-30T16:48:22Z</dc:date>
    <item>
      <title>Comparing dates with Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378954#M31266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community !&lt;/P&gt;&lt;P&gt;I found several topics on the subject but nothing to solve my problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my app i wanted to compare two fields as a condition by using Set analysis :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;( above( Count&lt;/SPAN&gt;({$&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;DateType&lt;/SPAN&gt;={&lt;SPAN style="color: #008000;"&gt;'CompanyApproved'&lt;/SPAN&gt;},&lt;/P&gt;&lt;P&gt;{[&lt;SPAN style="color: #993300;"&gt;Authorized_by_company&lt;/SPAN&gt;]=&amp;lt;&lt;SPAN style="color: #993300;"&gt;[Approved_by_company]&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;&amp;gt;} &lt;SPAN style="color: #993300;"&gt;ID&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not working ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378954#M31266</guid>
      <dc:creator>victor_greffet</dc:creator>
      <dc:date>2017-10-30T16:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing dates with Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378955#M31267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;Count({$&amp;lt;DateType = {'CompanyApproved'}&lt;SPAN style="color: #ff0000;"&gt;, ID = {"=[Authorized_by_company]=&amp;lt;[Approved_by_company]"}&lt;/SPAN&gt;&amp;gt;} ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378955#M31267</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-30T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing dates with Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378956#M31268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfo it's still not working...&lt;/P&gt;&lt;P&gt;I think i have to load another field in the script like&lt;/P&gt;&lt;P&gt;if( [Authorized_by_company]&amp;lt;=&lt;SPAN style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Approved_by_company],'&amp;lt;=','') as comparison&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300; 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: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and then &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; color: #3d3d3d;"&gt;Count({$&amp;lt;DateType = {'CompanyApproved'}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Comparison={'&amp;lt;='}}&lt;/SPAN&gt;&amp;gt;} ID) ... is the wording correct?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378956#M31268</guid>
      <dc:creator>victor_greffet</dc:creator>
      <dc:date>2017-10-30T16:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing dates with Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378957#M31269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would just to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Authorized_by_company] &amp;lt;= [Approved_by_company], 1, 0) as comparisonFlag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;DateType = {'CompanyApproved'}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;comparisonFlag &lt;/STRONG&gt;&lt;/SPAN&gt;= {1}&lt;/SPAN&gt;&amp;gt;} ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-dates-with-Set-analysis/m-p/1378957#M31269</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-30T16:48:22Z</dc:date>
    </item>
  </channel>
</rss>

