<?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: Set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849715#M70232</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113968"&gt;@Luben&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the fields vstart_date and vend_date are variable you can try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count(
{&amp;lt;Folder_Open_Date={"&amp;gt;=$(vstart_date)"},Folder_Open_Date={"&amp;lt;=$(vend_date)"},Status-={'V'},Status-={"Void"}&amp;gt;}
Distinct Claim
)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 20 Oct 2021 18:58:05 GMT</pubDate>
    <dc:creator>joaopaulo_delco</dc:creator>
    <dc:date>2021-10-20T18:58:05Z</dc:date>
    <item>
      <title>Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849701#M70229</link>
      <description>&lt;P&gt;Hello I need help converting the below IF statement to Set analysis;&lt;/P&gt;
&lt;P&gt;COUNT(&lt;BR /&gt;DISTINCT IF(&lt;BR /&gt;Folder_Open_Date &amp;gt;=vstart_date AND &lt;BR /&gt;Folder_Open_Date &amp;lt;=vend_date AND &lt;BR /&gt;[Status]&amp;lt;&amp;gt;"V" AND [Status]&amp;lt;&amp;gt;"Void"&lt;BR /&gt;&lt;BR /&gt;,[Claim]&lt;BR /&gt;&lt;BR /&gt;,NULL&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Thanks in Advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 18:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849701#M70229</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-10-20T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849715#M70232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/113968"&gt;@Luben&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the fields vstart_date and vend_date are variable you can try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count(
{&amp;lt;Folder_Open_Date={"&amp;gt;=$(vstart_date)"},Folder_Open_Date={"&amp;lt;=$(vend_date)"},Status-={'V'},Status-={"Void"}&amp;gt;}
Distinct Claim
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 18:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849715#M70232</guid>
      <dc:creator>joaopaulo_delco</dc:creator>
      <dc:date>2021-10-20T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849729#M70233</link>
      <description>&lt;P&gt;Try with this...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count(
      {&amp;lt;
        [Folder_Open_Date] = {"&amp;gt;='$(vstart_date)' &amp;lt;='$(vend_date)'"}
       ,[Status] *= E({&amp;lt;[Status] = {V, Void}&amp;gt;})
      &amp;gt;}
        Distinct [Claim]
)&lt;/LI-CODE&gt;
&lt;P&gt;If it doesn't works, try removing the single quotes.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 19:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849729#M70233</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2021-10-20T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849737#M70234</link>
      <description>&lt;P&gt;Thanks Guy's for your response, i tired both approaches and get zero in my KPI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 19:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849737#M70234</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-10-20T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849743#M70235</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How the variables &lt;STRONG&gt;vstart_date&lt;/STRONG&gt; and &lt;STRONG&gt;vend_date&lt;/STRONG&gt; are defined?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 20:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849743#M70235</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2021-10-20T20:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849750#M70236</link>
      <description>&lt;P&gt;i have the like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let Vend_date = today();&lt;BR /&gt;Let Vstart_date = AddMonths(MonthStart(Today()), -1);&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 20:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849750#M70236</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-10-20T20:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849756#M70238</link>
      <description>&lt;P&gt;Count(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Folder_Open_Date] = {"&amp;gt;='$(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;V&lt;/STRONG&gt;&lt;/FONT&gt;start_date)' &amp;lt;='$(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;V&lt;/STRONG&gt;&lt;/FONT&gt;end_date)'"}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,[Status] *= E({&amp;lt;[Status] = {V, Void}&amp;gt;})&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Distinct [Claim]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 20:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849756#M70238</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2021-10-20T20:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849763#M70239</link>
      <description>&lt;P&gt;The Vstart_date variable can be defined a bit more compactly...&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LET Vstart_date = MonthStart(Today(), -1);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 20:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1849763#M70239</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2021-10-20T20:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850102#M70261</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Folder_Open_Date] = {"&amp;gt;='$(&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;V&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;start_date)' &amp;lt;='$(&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;V&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;end_date)'"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,[Status] *= E({&amp;lt;[Status] = {V, Void}&amp;gt;})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Distinct [Claim]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hello JGM I Tired the above and still getting zero in the KPI as seen below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luben_0-1634821671574.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64934i002EAB4DFE30B556/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luben_0-1634821671574.png" alt="Luben_0-1634821671574.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I used this as my variables&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LET Vstart_date = MonthStart(Today(), -1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let Vend_date = today();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850102#M70261</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-10-21T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850112#M70262</link>
      <description>&lt;P&gt;Can you share what do you see at the bottom of expression editor, the evaluated set expression appears over there, I guess something is wrong with the date format comparison in the set condition.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850112#M70262</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2021-10-21T13:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850120#M70263</link>
      <description>&lt;P&gt;In addition to what &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48860"&gt;@Digvijay_Singh&lt;/a&gt; asks you,&lt;BR /&gt;Could you share us the definition in script of the field &lt;STRONG&gt;[Folder_Open_Date]&lt;/STRONG&gt; or a screenshot of what it looks like used in a chart?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850120#M70263</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2021-10-21T13:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850151#M70265</link>
      <description>&lt;P&gt;it's says ok at the bottom of the Edit expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luben_0-1634825806094.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64942iD9CC7F31BCF635A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luben_0-1634825806094.png" alt="Luben_0-1634825806094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;that is the above date that show up&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SET DateFormat= 'YYYY-MM-DD'; this&amp;nbsp; my date format&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1850151#M70265</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-10-21T14:27:55Z</dc:date>
    </item>
  </channel>
</rss>

