<?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 not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069599#M87714</link>
    <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229469"&gt;@techguy100&lt;/a&gt;, thanks for replying. I've checked the formatting &amp;amp; filters, all seems okay. I'm investigating my data model and seems like the issue lies with counting the null values. I've rewritten my expression to the following but it doesnt seem to be picking up the 2nd condition&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}, [MILESTONE_STEP_ID]-={"'-'"}&amp;gt;}DISTINCT [MILESTONE_SUMMARY.MILESTONE_STEP_ID])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a screenshot of sample data from my data model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lynn2_0-1683712500192.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106819i1C6EACEB995AFE60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lynn2_0-1683712500192.png" alt="lynn2_0-1683712500192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 09:55:38 GMT</pubDate>
    <dc:creator>lynn2</dc:creator>
    <dc:date>2023-05-10T09:55:38Z</dc:date>
    <item>
      <title>set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069434#M87694</link>
      <description>&lt;P&gt;Hi all, I'm new to Qlik and I can't seem to get my set analysis to work. I'm trying to count the number of instances where the dimension returns a specific value. Here's my expression:&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}&amp;gt;}[MILESTONE_SUMMARY.MILESTONE_STEP_ID])&lt;/P&gt;
&lt;P&gt;The expression seem correct and is able to be applied. However the count returned is not meeting the condition stated, it just returns the total count&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 03:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069434#M87694</guid>
      <dc:creator>lynn2</dc:creator>
      <dc:date>2023-05-10T03:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069449#M87696</link>
      <description>&lt;P&gt;Based on the expression you provided, it looks like the set analysis is correctly filtering the [MILESTONE_SUMMARY.MILESTONE_STEP_ID] field based on the condition [MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}.&lt;/P&gt;
&lt;P&gt;However, it's possible that the issue lies with the [MILESTONE_STEP] field itself. Double-check that the [MILESTONE_STEP] field is in the same data model as the [MILESTONE_SUMMARY.MILESTONE_STEP_ID] field, and that the [MILESTONE_STEP] values match exactly with {"APPLICATION_DRAFT_CREATED"} (i.e. check for any whitespace or other formatting issues).&lt;/P&gt;
&lt;P&gt;Another possibility is that there may be other filters being applied to the chart or table where the expression is being used. Try removing any other filters to see if that affects the count.&lt;/P&gt;
&lt;P&gt;If neither of these solutions work, it may be helpful to provide more information about your data model and the chart or table where the expression is being used, so that others can better understand the issue and provide more targeted assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 05:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069449#M87696</guid>
      <dc:creator>techguy100</dc:creator>
      <dc:date>2023-05-10T05:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069471#M87703</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}&amp;gt;} DISTINCT [MILESTONE_STEP])&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 05:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069471#M87703</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-10T05:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069474#M87704</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229469"&gt;@techguy100&lt;/a&gt; Is it possible that you are failing to count the expression's unique values?&lt;/P&gt;
&lt;P&gt;Count( &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;DISTINCT&lt;/FONT&gt; &lt;/STRONG&gt;{&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}&amp;gt;}[MILESTONE_SUMMARY.MILESTONE_STEP_ID])&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 05:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069474#M87704</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-10T05:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069599#M87714</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229469"&gt;@techguy100&lt;/a&gt;, thanks for replying. I've checked the formatting &amp;amp; filters, all seems okay. I'm investigating my data model and seems like the issue lies with counting the null values. I've rewritten my expression to the following but it doesnt seem to be picking up the 2nd condition&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}, [MILESTONE_STEP_ID]-={"'-'"}&amp;gt;}DISTINCT [MILESTONE_SUMMARY.MILESTONE_STEP_ID])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a screenshot of sample data from my data model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lynn2_0-1683712500192.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106819i1C6EACEB995AFE60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lynn2_0-1683712500192.png" alt="lynn2_0-1683712500192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 09:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069599#M87714</guid>
      <dc:creator>lynn2</dc:creator>
      <dc:date>2023-05-10T09:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069602#M87715</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49432"&gt;@Chanty4u&lt;/a&gt;, thanks for replying. The DISTINCT syntax did help with counting distinct values only, thanks for pointing that out. However I'm still getting an error, believe that my expression is counting the null values. I've changed it to this but it doesnt seem to be meeting the 2nd condition&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;[MILESTONE_STEP] = {"APPLICATION_DRAFT_CREATED"}, [MILESTONE_STEP_ID]-={"'-'"}&amp;gt;}DISTINCT [MILESTONE_SUMMARY.MILESTONE_STEP_ID])&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's a screenshot of sample data from my data model:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lynn2_1-1683712678375.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106820iC38C4FF6DEB015F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lynn2_1-1683712678375.png" alt="lynn2_1-1683712678375.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 09:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069602#M87715</guid>
      <dc:creator>lynn2</dc:creator>
      <dc:date>2023-05-10T09:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069604#M87716</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;, thanks for replying.&amp;nbsp; I added the DISTINCT syntax at&amp;nbsp;&lt;SPAN&gt;[MILESTONE_SUMMARY.MILESTONE_STEP_ID] and it seems to work. Should there be another DISTINCT syntax at the front?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 10:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069604#M87716</guid>
      <dc:creator>lynn2</dc:creator>
      <dc:date>2023-05-10T10:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis not working</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069640#M87722</link>
      <description>&lt;P&gt;Hi, one is enough, either place it in front or behind the set expression.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 11:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-not-working/m-p/2069640#M87722</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-10T11:42:41Z</dc:date>
    </item>
  </channel>
</rss>

