<?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 or if statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081809#M88731</link>
    <description>&lt;P&gt;=Count(DISTINCT If(Count(ORDER_ID)&amp;gt;= 2, SHOPIFY_ORDER_ID))&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:32:06 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2023-06-08T16:32:06Z</dc:date>
    <item>
      <title>Set analysis or if statement</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081744#M88727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to calculate -&amp;gt; count distinct of order_id but only when the count of order_id is &amp;gt;= 2.&lt;/P&gt;
&lt;P&gt;This calculation should be on KPI object.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried -&lt;/P&gt;
&lt;P&gt;if(count(ORDER_ID)&amp;gt;= 2 , count(distinct SHOPIFY_ORDER_ID))&lt;/P&gt;
&lt;P&gt;When I tried it in "table" it worked but on KPI it didn't.&lt;/P&gt;
&lt;P&gt;Would appreciate your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 14:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081744#M88727</guid>
      <dc:creator>chloe</dc:creator>
      <dc:date>2023-06-08T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis or if statement</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081809#M88731</link>
      <description>&lt;P&gt;=Count(DISTINCT If(Count(ORDER_ID)&amp;gt;= 2, SHOPIFY_ORDER_ID))&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081809#M88731</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-06-08T16:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis or if statement</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081890#M88734</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;if &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;expression troubles due to nested aggregation, you may try adding Aggr in between, but cannot be sure without testing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Count(DISTINCT Aggr( If(Count(ORDER_ID)&amp;gt;= 2, SHOPIFY_ORDER_ID),SHOPIFY_ORDER_ID))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2081890#M88734</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2023-06-08T21:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis or if statement</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2082470#M88756</link>
      <description>&lt;P&gt;It worked!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 06:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-or-if-statement/m-p/2082470#M88756</guid>
      <dc:creator>chloe</dc:creator>
      <dc:date>2023-06-11T06:28:38Z</dc:date>
    </item>
  </channel>
</rss>

