<?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 only show table when certain filters are active in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487204#M101488</link>
    <description>&lt;P&gt;Kudos nice solution!!&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 23:36:38 GMT</pubDate>
    <dc:creator>seanbruton</dc:creator>
    <dc:date>2024-10-15T23:36:38Z</dc:date>
    <item>
      <title>Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2486986#M101446</link>
      <description>&lt;P&gt;I have a master measure which I'm showing in a table and a kpi. However, there are only 5 filters with which it is accurate. If any other filter is selected, the measure is inaccurate. I would therefore like to hide the kpi and table when any filter other than Filter 1-5 is selected. Adittionally, the measure is also accurate if no filter is selected.&lt;/P&gt;
&lt;P&gt;I thought I could do this with a layout box and let something appear in front of it if anything other than Filter 1-5 is selected, but I can't figure out the set analysis I would need for it. Checking if all other filters are not selected is not an option since we have over 20 filters. If anyone knows which formula to use or has another suggestion I would really appreciate it!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 08:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2486986#M101446</guid>
      <dc:creator>Maggie_1</dc:creator>
      <dc:date>2024-10-15T08:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2486989#M101447</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316610"&gt;@Maggie_1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a master measure which I'm showing in a table and a kpi. However, there are only 5 filters with which it is accurate. If any other filter is selected, the measure is inaccurate. I would therefore like to hide the kpi and table when any filter other than Filter 1-5 is selected. Adittionally, the measure is also accurate if no filter is selected.&lt;/P&gt;
&lt;P&gt;I thought I could do this with a layout box and let something appear in front of it if anything other than Filter 1-5 is selected, but I can't figure out the set analysis I would need for it. Checking if all other filters are not selected is not an option since we have over 20 filters. If anyone knows which formula to use or has another suggestion I would really appreciate it!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316610"&gt;@Maggie_1&lt;/a&gt; &lt;A href="https://www-floridablue.com" target="_blank" rel="noopener"&gt;floridablue&lt;/A&gt; ,&lt;/P&gt;
&lt;P&gt;You can use a set analysis formula to achieve this. Here's a suggestion:&lt;/P&gt;
&lt;P&gt;Create a new measure to determine if the selected filter is one of the valid filters (Filter 1-5).&lt;/P&gt;
&lt;P&gt;Use this measure to control the visibility of your KPI and table.&lt;/P&gt;
&lt;P&gt;Here's a sample formula:&lt;/P&gt;
&lt;P&gt;=if(Count({1&amp;lt;Filter= {'Filter1', 'Filter2', 'Filter3', 'Filter4', 'Filter5'}&amp;gt;} Filter) &amp;gt; 0, 1, 0)&lt;/P&gt;
&lt;P&gt;This formula checks if the selected filter is one of the valid filters and returns 1 if true, otherwise 0. You can then use this measure to control the visibility of your KPI and table.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;James Henry&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 03:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2486989#M101447</guid>
      <dc:creator>james598henry</dc:creator>
      <dc:date>2024-10-16T03:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487040#M101450</link>
      <description>&lt;P&gt;&lt;BR /&gt;To hide the KPI and table when filters other than Filter 1-5 are selected, you can use a calculation condition based on the GetSelectedCount() function. This function returns the number of values selected in a given field.&lt;/P&gt;
&lt;P&gt;First, create a new calculated field that checks if any of the filters from Filter 1-5 are selected or if no filter is selected. The formula could be:&lt;/P&gt;
&lt;P&gt;=GetSelectedCount([Filter 1]) + GetSelectedCount([Filter 2]) + GetSelectedCount([Filter 3]) + GetSelectedCount([Filter 4]) + GetSelectedCount([Filter 5]) &amp;gt; 0 OR GetPossibleCount([Filter 1]) = 1&lt;/P&gt;
&lt;P&gt;This expression evaluates to True if any of the filters from Filter 1-5 have a selection or if no filter is selected (GetPossibleCount([Filter 1]) = 1 means there is only one possible value for Filter 1, i.e., no selection).&lt;/P&gt;
&lt;P&gt;Then, in the properties panel of the KPI and table, under Appearance &amp;gt; Conditional, add a new condition based on the calculated field you created. Set it to show the object when the condition is True and hide it when False.&lt;/P&gt;
&lt;P&gt;This way, the KPI and table will only be visible when the filters from Filter 1-5 are selected or when no filter is applied, effectively hiding them when any other filter is used.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 10:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487040#M101450</guid>
      <dc:creator>AnsweringTuring</dc:creator>
      <dc:date>2024-10-15T10:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487051#M101453</link>
      <description>&lt;P&gt;Thanks, this worked for me. Your explanation is also very clear, thank you!&lt;/P&gt;
&lt;P&gt;The one thing that was different was that GetPossibleCount gave the number of options that were available when I didn't have anything selected. (In my case I had 3 unique values in that column, so I had to do&amp;nbsp;&lt;SPAN&gt;(GetPossibleCount([Filter 1]) = 3)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 11:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487051#M101453</guid>
      <dc:creator>Maggie_1</dc:creator>
      <dc:date>2024-10-15T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487056#M101455</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316618"&gt;@james598henry&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;This sadly doesn't work for me and gives an error. I think it's because "Filter" is undefined, so it does not know what to count. Do you know what I could use instead? Just to clarify which filter I mean:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=if(Count({1&amp;lt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Filter&lt;/STRONG&gt;&lt;/FONT&gt;= {'Filter1', 'Filter2', 'Filter3', 'Filter4', 'Filter5'}&amp;gt;} &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Filter&lt;/STRONG&gt;&lt;/FONT&gt;) &amp;gt; 0, 1, 0)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 11:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487056#M101455</guid>
      <dc:creator>Maggie_1</dc:creator>
      <dc:date>2024-10-15T11:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487204#M101488</link>
      <description>&lt;P&gt;Kudos nice solution!!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 23:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487204#M101488</guid>
      <dc:creator>seanbruton</dc:creator>
      <dc:date>2024-10-15T23:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis only show table when certain filters are active</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487212#M101490</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Kudos nice simple solution!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 23:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-only-show-table-when-certain-filters-are-active/m-p/2487212#M101490</guid>
      <dc:creator>seanbruton</dc:creator>
      <dc:date>2024-10-15T23:48:32Z</dc:date>
    </item>
  </channel>
</rss>

