<?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 Set analysis with two date conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-two-date-conditions/m-p/1977156#M80618</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I've a condition to count the # of parts covered based on selection by the user with different date inputs. The below is the expression currently I'm using&lt;/P&gt;
&lt;P&gt;=sum({&amp;lt;$(='[CMMS '&amp;amp;vBOH &amp;amp;' BOH Days]')={"&amp;gt;=$(vStart) &amp;lt;=$(vEnd)"}, [Arrived Run Total]={"= Sum([Arrived Run Total])&amp;gt;= 0"} &amp;gt; + &amp;lt;[RunTot_Quantity]={"= Sum([RunTot_Quantity])&amp;gt;= 0"}&amp;gt;} Quantity)&lt;BR /&gt;&lt;BR /&gt;But I need to add another condition to the above formula which will count the sum of parts with a given date input.&lt;BR /&gt;&lt;BR /&gt;I'm trying something like this below. But not getting the expected result.&lt;BR /&gt;New expression added to the old formula , $(='[Shift Date]')={"&amp;gt;=$(vStart)&amp;lt;=$(vEnd)"}&lt;BR /&gt;&lt;BR /&gt;=sum({&amp;lt;$(='[CMMS '&amp;amp;vBOH &amp;amp;' BOH Days]')={"&amp;gt;=$(vStart) &amp;lt;=$(vEnd)"},$(='[Shift Date]')={"&amp;gt;=$(vStart)&amp;lt;=$(vEnd)"}, [Arrived Run Total]={"= Sum([Arrived Run Total])&amp;gt;= 0"} &amp;gt; + &amp;lt;[RunTot_Quantity]={"= Sum([RunTot_Quantity])&amp;gt;= 0"}&amp;gt;} Quantity)&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 23:05:13 GMT</pubDate>
    <dc:creator>Husky_Bab12</dc:creator>
    <dc:date>2022-09-05T23:05:13Z</dc:date>
    <item>
      <title>Set analysis with two date conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-two-date-conditions/m-p/1977156#M80618</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I've a condition to count the # of parts covered based on selection by the user with different date inputs. The below is the expression currently I'm using&lt;/P&gt;
&lt;P&gt;=sum({&amp;lt;$(='[CMMS '&amp;amp;vBOH &amp;amp;' BOH Days]')={"&amp;gt;=$(vStart) &amp;lt;=$(vEnd)"}, [Arrived Run Total]={"= Sum([Arrived Run Total])&amp;gt;= 0"} &amp;gt; + &amp;lt;[RunTot_Quantity]={"= Sum([RunTot_Quantity])&amp;gt;= 0"}&amp;gt;} Quantity)&lt;BR /&gt;&lt;BR /&gt;But I need to add another condition to the above formula which will count the sum of parts with a given date input.&lt;BR /&gt;&lt;BR /&gt;I'm trying something like this below. But not getting the expected result.&lt;BR /&gt;New expression added to the old formula , $(='[Shift Date]')={"&amp;gt;=$(vStart)&amp;lt;=$(vEnd)"}&lt;BR /&gt;&lt;BR /&gt;=sum({&amp;lt;$(='[CMMS '&amp;amp;vBOH &amp;amp;' BOH Days]')={"&amp;gt;=$(vStart) &amp;lt;=$(vEnd)"},$(='[Shift Date]')={"&amp;gt;=$(vStart)&amp;lt;=$(vEnd)"}, [Arrived Run Total]={"= Sum([Arrived Run Total])&amp;gt;= 0"} &amp;gt; + &amp;lt;[RunTot_Quantity]={"= Sum([RunTot_Quantity])&amp;gt;= 0"}&amp;gt;} Quantity)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 23:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-two-date-conditions/m-p/1977156#M80618</guid>
      <dc:creator>Husky_Bab12</dc:creator>
      <dc:date>2022-09-05T23:05:13Z</dc:date>
    </item>
  </channel>
</rss>

