<?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: Filters not applying even when selected. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454043#M98236</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;It basically combines 2 columns (that are alike)&lt;STRONG&gt; from 2 seperate table together&lt;/STRONG&gt; to act as a filter for the data. However, whenever I try to select any of the options, nothing happens and it states no selections applied.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I might have look from bold part, do you have associated each already?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 05:48:16 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2024-05-20T05:48:16Z</dc:date>
    <item>
      <title>Filters not applying even when selected.</title>
      <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454018#M98233</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a filter created to filter the data between 2 type of parts as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dylangkx_0-1716174317958.png" style="width: 203px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166398iC5AEB2BD11C65D99/image-dimensions/203x225?v=v2" width="203" height="225" role="button" title="Dylangkx_0-1716174317958.png" alt="Dylangkx_0-1716174317958.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;this is the formula used for the filter:&lt;BR /&gt;=if( ISNULL([causalreplacedpart]),[releatedcausing],[causalreplacedpart])&lt;/P&gt;
&lt;P&gt;It basically combines 2 columns (that are alike) from 2 seperate table together to act as a filter for the data. However, whenever I try to select any of the options, nothing happens and it states no selections applied.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dylangkx_1-1716174454262.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166399iDA722D179460534F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dylangkx_1-1716174454262.png" alt="Dylangkx_1-1716174454262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can't tell if its an issue with my formula (I have it within a straight table and the data displays correctly), or is my datasource too big to allow this filter to work correctly.&lt;/P&gt;
&lt;P&gt;Do let me know if there are any fixes to this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 03:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454018#M98233</guid>
      <dc:creator>Dylangkx</dc:creator>
      <dc:date>2024-05-20T03:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filters not applying even when selected.</title>
      <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454032#M98234</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/294134"&gt;@Dylangkx&lt;/a&gt;,&lt;BR /&gt;It seems that the main problem is with the filter expression not applying selections as expected.&lt;BR /&gt;&lt;BR /&gt;Results: Example:&amp;nbsp; If ABC have Null then it will take Funtion ID column Fields&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TauseefKhan_0-1716180531302.png" style="width: 319px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166401i5B986AF9A1ECC9AC/image-dimensions/319x194?v=v2" width="319" height="194" role="button" title="TauseefKhan_0-1716180531302.png" alt="TauseefKhan_0-1716180531302.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TauseefKhan_1-1716180647777.png" style="width: 266px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166402i15C0F2E5A5D5D9B1/image-dimensions/266x177?v=v2" width="266" height="177" role="button" title="TauseefKhan_1-1716180647777.png" alt="TauseefKhan_1-1716180647777.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=Aggr(&lt;BR /&gt;if(isnull(ABC), Funtion_ID, ABC),&lt;BR /&gt;Funtion_ID&lt;BR /&gt;)&lt;BR /&gt;Solution: you might consider using the Aggr function, which is often used in Qlik Sense to create calculated dimensions or measures that can be used in filters.&amp;nbsp;&lt;BR /&gt;=Aggr(&lt;BR /&gt;if(isnull([causalreplacedpart]), [relatedcausing], [causalreplacedpart]),&lt;BR /&gt;[YourDimensionField]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Instead of using ISNULL, you can create a new field in the data load script that combines the two fields. This way, you'll have a single field to use in your filter, which should work more reliably.&lt;/P&gt;
&lt;P&gt;CombinedField:&lt;BR /&gt;LOAD&lt;BR /&gt;if(isnull([causalreplacedpart]), [relatedcausing], [causalreplacedpart]) as [CombinedPart]&lt;BR /&gt;RESIDENT YourTableName;&lt;/P&gt;
&lt;P&gt;After reloading your data with this script, you'll have a new field called CombinedPart that you can use directly in your filter pane.&lt;BR /&gt;&lt;BR /&gt;** When applicable please mark the correct/appropriate replies as "solution". Please LIKE threads if the provided solution is helpful to. **&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 04:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454032#M98234</guid>
      <dc:creator>TauseefKhan</dc:creator>
      <dc:date>2024-05-20T04:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filters not applying even when selected.</title>
      <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454034#M98235</link>
      <description>&lt;P&gt;Based on your description, it seems like the issue might be with the filter formula or the data source. Here’s a suggestion to debug this issue:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Check the Data Types:&lt;/STRONG&gt; Ensure that the data types of the columns&amp;nbsp;[causalreplacedpart]&amp;nbsp;and&amp;nbsp;[releatedcausing]&amp;nbsp;are compatible. If they are not, you might need to convert them to a common data type.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Debug the Formula:&lt;/STRONG&gt; You can create a new table or chart where you display the result of your formula along with the original columns. This can help you identify if the formula is working as expected.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Check for Null Values:&lt;/STRONG&gt; If there are many null values in your data, it might affect the filter. You can handle this by using the&amp;nbsp;IsNull&amp;nbsp;function in the script;&lt;/P&gt;
&lt;P&gt;Here’s a sample script to handle null values: In this script,&amp;nbsp;first you need to combine both table:-&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(IsNull(causalreplacedpart) or Len(Trim(causalreplacedpart))=0, releatedcausing, causalreplacedpart) as FilterColumn&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [YourCombinedTable];&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;FilterColumn&amp;nbsp;will contain the value of&amp;nbsp;causalreplacedpart&amp;nbsp;if it’s not null; otherwise, it will contain the value of&amp;nbsp;releatedcausing. You can then use&amp;nbsp;FilterColumn&amp;nbsp;in your filter.&lt;/P&gt;
&lt;P&gt;Remember to replace [YourCombinedTable] your actual data source.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Check Data Source Size:&lt;/STRONG&gt; If your data source is too large, it might affect the performance of the filter. &lt;BR /&gt;Consider optimizing your data model and reducing the size of your data source if possible.&lt;/P&gt;
&lt;P&gt;Please try these steps and let me know if the issue persists. If it does, we might need to look into other potential causes.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 05:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454034#M98235</guid>
      <dc:creator>Sayed_Mannan</dc:creator>
      <dc:date>2024-05-20T05:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filters not applying even when selected.</title>
      <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454043#M98236</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;It basically combines 2 columns (that are alike)&lt;STRONG&gt; from 2 seperate table together&lt;/STRONG&gt; to act as a filter for the data. However, whenever I try to select any of the options, nothing happens and it states no selections applied.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I might have look from bold part, do you have associated each already?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 05:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454043#M98236</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-05-20T05:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filters not applying even when selected.</title>
      <link>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454054#M98238</link>
      <description>&lt;P&gt;Hi TauseefKhan!&lt;BR /&gt;&lt;BR /&gt;Thanks so much! Making the field an aggregate has solved the problem and allowed me to filter successfully!&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 07:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filters-not-applying-even-when-selected/m-p/2454054#M98238</guid>
      <dc:creator>Dylangkx</dc:creator>
      <dc:date>2024-05-20T07:08:59Z</dc:date>
    </item>
  </channel>
</rss>

