<?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 If statement to Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857773#M70810</link>
    <description>&lt;P&gt;hello all i help looking at this if statement, I am trying to convert it to Set analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COUNT(&lt;BR /&gt;distinct aggr (&lt;BR /&gt;IF (&lt;BR /&gt;(&lt;BR /&gt;[Open_Date]&amp;lt;=Vend_date &lt;BR /&gt;and Status&amp;lt;&amp;gt;'V' &lt;BR /&gt;AND Status&amp;lt;&amp;gt;'Void'&lt;BR /&gt;)&lt;BR /&gt;AND &lt;BR /&gt;(&lt;BR /&gt;[Closed_Date]&amp;gt;Vend_date &lt;BR /&gt;OR IsNull([Closed_Date])&lt;BR /&gt;)&lt;BR /&gt;,[C_Number]&lt;BR /&gt;)&lt;BR /&gt;,[C_Number]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the feed backs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 15:23:48 GMT</pubDate>
    <dc:creator>Luben</dc:creator>
    <dc:date>2021-11-10T15:23:48Z</dc:date>
    <item>
      <title>If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857773#M70810</link>
      <description>&lt;P&gt;hello all i help looking at this if statement, I am trying to convert it to Set analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COUNT(&lt;BR /&gt;distinct aggr (&lt;BR /&gt;IF (&lt;BR /&gt;(&lt;BR /&gt;[Open_Date]&amp;lt;=Vend_date &lt;BR /&gt;and Status&amp;lt;&amp;gt;'V' &lt;BR /&gt;AND Status&amp;lt;&amp;gt;'Void'&lt;BR /&gt;)&lt;BR /&gt;AND &lt;BR /&gt;(&lt;BR /&gt;[Closed_Date]&amp;gt;Vend_date &lt;BR /&gt;OR IsNull([Closed_Date])&lt;BR /&gt;)&lt;BR /&gt;,[C_Number]&lt;BR /&gt;)&lt;BR /&gt;,[C_Number]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the feed backs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857773#M70810</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-11-10T15:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857802#M70812</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;count(distinct {&amp;lt;[C_Number] = {"=[Open_Date]&amp;lt;=Vend_date"}, Status -= {'V', 'Void'}&amp;gt; * &amp;lt;[C_Number] = {"=[Closed_Date]&amp;gt;Vend_date OR IsNull([Closed_Date])"]&amp;gt;} [C_Number])&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857802#M70812</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-10T15:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857863#M70815</link>
      <description>&lt;P&gt;Thanks for your response when I added the above I get error in the expression builder and the KPI is blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 18:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857863#M70815</guid>
      <dc:creator>Luben</dc:creator>
      <dc:date>2021-11-10T18:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857865#M70816</link>
      <description>&lt;P&gt;Sorry i was hoping you could cleanup any syntax issues as i dont have these fields.&amp;nbsp; i took a manual look through, try this, there was an extra ] in what i posted.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count(distinct {&amp;lt;[C_Number] = {"=[Open_Date]&amp;lt;=[Vend_date]"}, [Status] -= {'V', 'Void'}&amp;gt; * &amp;lt;[C_Number] = {"=[Closed_Date]&amp;gt;[Vend_date] OR IsNull([Closed_Date])"&amp;gt;} [C_Number])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 18:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-Set-Analysis/m-p/1857865#M70816</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-10T18:59:28Z</dc:date>
    </item>
  </channel>
</rss>

