<?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: Making Status as a Filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421522#M95708</link>
    <description>&lt;P&gt;If you need to evaluate for another dimension whether&amp;nbsp;&lt;SPAN&gt;IncidentIDs exist, you can use&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;=Aggr(If(Count(DISTINCT IncidentID) &amp;gt; 0, 'True', 'False'), YourDimension)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;to apply a filter to your dimension for all values that do or don't have&amp;nbsp;IncidentIDs.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 07:23:46 GMT</pubDate>
    <dc:creator>LRuCelver</dc:creator>
    <dc:date>2024-02-21T07:23:46Z</dc:date>
    <item>
      <title>Making Status as a Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421370#M95700</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using&amp;nbsp;=Count (DISTINCT IncidentID) &amp;gt; 0, 'True', 'False') to find the status of it.but I need to set it as Dimension filter to make the selections.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 18:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421370#M95700</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-02-20T18:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Making Status as a Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421376#M95702</link>
      <description>&lt;P&gt;Like this &lt;/P&gt;
&lt;P&gt;=If(Aggr(Count(DISTINCT IncidentID), IncidentID) &amp;gt; 0, 'True', 'False')&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 19:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421376#M95702</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-02-20T19:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Making Status as a Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421522#M95708</link>
      <description>&lt;P&gt;If you need to evaluate for another dimension whether&amp;nbsp;&lt;SPAN&gt;IncidentIDs exist, you can use&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;=Aggr(If(Count(DISTINCT IncidentID) &amp;gt; 0, 'True', 'False'), YourDimension)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;to apply a filter to your dimension for all values that do or don't have&amp;nbsp;IncidentIDs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421522#M95708</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-21T07:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Making Status as a Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421559#M95713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229534"&gt;@Raju_6952&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aggr works for this, but for performance you really want to do this in the load script.&lt;/P&gt;
&lt;P&gt;If you just add a new field to the load of your Incident table you can have a filter with just yes:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Incident:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;IncidentID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;'Yes' as [Has Incident],&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you need to know if a particular site has an incident or not, and you want to have Yes/No filters you can do this with an &lt;A href="https://www.quickintelligence.co.uk/applymap-is-it-so-wrong/" target="_self"&gt;ApplyMap&lt;/A&gt; statement. Assuming you have loaded an Incident table, which has ClientID, ahead of your Site table:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Map_HasIncident:&lt;BR /&gt;MAPPING LOAD DISTINCT&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ClientID,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'Yes' as Incident&lt;BR /&gt;RESIDENT Incident;&lt;BR /&gt;&lt;BR /&gt;Site:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp;SiteID,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ApplyMap('Map_HasIncident', SiteID, 'No') as [Site Has Incident],&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Your users will thank you for pre-calculating this in the load, rather than having to evaluate it at run time for a filter pane.&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 08:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2421559#M95713</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2024-02-21T08:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Making Status as a Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2423518#M95909</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;=Aggr(If(Count(DISTINCT IncidentID) &amp;gt; 0, 'True', 'False'), YourDimension)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above formula is working. Thanks for the replies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 12:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Making-Status-as-a-Filter/m-p/2423518#M95909</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-02-26T12:16:36Z</dc:date>
    </item>
  </channel>
</rss>

