<?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 condition with set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/if-condition-with-set-analysis/m-p/1980180#M80893</link>
    <description>&lt;P&gt;Hello everyone.. I'm working on an application which runs on some conditions as below:&lt;/P&gt;
&lt;P&gt;Project_Status: 'Active'&lt;/P&gt;
&lt;P&gt;at_feedback_rating_id &amp;lt;&amp;gt; 0&lt;/P&gt;
&lt;P&gt;MaxCsatDate =&amp;nbsp;at_csat_received_date (where&amp;nbsp;MaxCsatDate&amp;nbsp; is max(at_csat_received_date ))&lt;/P&gt;
&lt;P&gt;project id &amp;lt;&amp;gt; 0&lt;/P&gt;
&lt;P&gt;1) if the above conditions dont match, the result would be '0.00% from 0 projects'&lt;/P&gt;
&lt;P&gt;2) if the above conditions do match, the average of rating and count of projects ids should also fulfilled the mentioned conditions&amp;nbsp; while calculating KPI.&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Error I'm facing with this KPI syntax:&lt;/P&gt;
&lt;P&gt;if(GetPossibleCount (at_projectid) =0 , '0.00% from 0 Projects', &lt;BR /&gt;repeat(chr(160),6) &amp;amp; if(GetPossibleCount(at_feedback_rating_id) = 0,'0.00%',&lt;BR /&gt;Num((Avg (If([project_status]= 'Active' and MaxCsatDate = at_csat_received_date, at_feedback_rating_id))/&lt;BR /&gt;max({1} total at_feedback_rating_id)) , '#0.00%')) &amp;amp; ' from ' &amp;amp; &lt;BR /&gt;count({&amp;lt;[project_status]= {'Active'},at_feedback_rating_id = {"&amp;gt;0"}, MatchDate = {1} &amp;gt;} distinct at_projectid)&lt;BR /&gt;&amp;amp; ' Projects' &amp;amp; repeat(chr(160),6))&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 07:27:45 GMT</pubDate>
    <dc:creator>jalpashukla</dc:creator>
    <dc:date>2022-09-13T07:27:45Z</dc:date>
    <item>
      <title>if condition with set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/if-condition-with-set-analysis/m-p/1980180#M80893</link>
      <description>&lt;P&gt;Hello everyone.. I'm working on an application which runs on some conditions as below:&lt;/P&gt;
&lt;P&gt;Project_Status: 'Active'&lt;/P&gt;
&lt;P&gt;at_feedback_rating_id &amp;lt;&amp;gt; 0&lt;/P&gt;
&lt;P&gt;MaxCsatDate =&amp;nbsp;at_csat_received_date (where&amp;nbsp;MaxCsatDate&amp;nbsp; is max(at_csat_received_date ))&lt;/P&gt;
&lt;P&gt;project id &amp;lt;&amp;gt; 0&lt;/P&gt;
&lt;P&gt;1) if the above conditions dont match, the result would be '0.00% from 0 projects'&lt;/P&gt;
&lt;P&gt;2) if the above conditions do match, the average of rating and count of projects ids should also fulfilled the mentioned conditions&amp;nbsp; while calculating KPI.&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Error I'm facing with this KPI syntax:&lt;/P&gt;
&lt;P&gt;if(GetPossibleCount (at_projectid) =0 , '0.00% from 0 Projects', &lt;BR /&gt;repeat(chr(160),6) &amp;amp; if(GetPossibleCount(at_feedback_rating_id) = 0,'0.00%',&lt;BR /&gt;Num((Avg (If([project_status]= 'Active' and MaxCsatDate = at_csat_received_date, at_feedback_rating_id))/&lt;BR /&gt;max({1} total at_feedback_rating_id)) , '#0.00%')) &amp;amp; ' from ' &amp;amp; &lt;BR /&gt;count({&amp;lt;[project_status]= {'Active'},at_feedback_rating_id = {"&amp;gt;0"}, MatchDate = {1} &amp;gt;} distinct at_projectid)&lt;BR /&gt;&amp;amp; ' Projects' &amp;amp; repeat(chr(160),6))&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 07:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-condition-with-set-analysis/m-p/1980180#M80893</guid>
      <dc:creator>jalpashukla</dc:creator>
      <dc:date>2022-09-13T07:27:45Z</dc:date>
    </item>
  </channel>
</rss>

