<?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: Filter pane with variable input function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430192#M96498</link>
    <description>&lt;P&gt;Hello &lt;A href="https://www.maxim-timeclock.com" target="_self"&gt;Maxim Time Clock&lt;/A&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/290961"&gt;@Ashley55&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems like you’re trying to create a dynamic filter pane in Qlik where the displayed list is controlled by two variables, vID and vCUSTNO. The function you’ve written should theoretically work, but if it’s not functioning as expected, there might be a syntax issue or a problem with how the variables are being used within the set analysis.&lt;/P&gt;
&lt;P&gt;Here’s a revised version of your function that you can try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=if(
len(trim(vID)) = 0,
text({&amp;lt;[contact_now_30d.CUST_NUM] = {$(vCUSTNO)}&amp;gt;}[contact_now_30d.Program]),
text({&amp;lt;[contact_now_30d.custnmbr] = {$(vID)}&amp;gt;}[contact_now_30d.Program])
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This function checks if vID is empty (after trimming any whitespace), and if so, it uses vCUSTNO to filter the list. Otherwise, it uses vID. Make sure that the variables vID and vCUSTNO are defined correctly and that they are getting the expected values from the user input.&lt;/P&gt;
&lt;P&gt;If you’re still facing issues, it could be helpful to check the Qlik community forums or resources for specific examples or to get support from other Qlik developers. Additionally, ensure that your data model supports the relationships required for this filter to work correctly.&lt;/P&gt;
&lt;P&gt;I hope this will help you&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Maxim Time Clock&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 04:16:28 GMT</pubDate>
    <dc:creator>jessewallick</dc:creator>
    <dc:date>2024-03-14T04:16:28Z</dc:date>
    <item>
      <title>Filter pane with variable input function</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430166#M96497</link>
      <description>&lt;P&gt;Hi I face a challenge to add filter variable in filter pane, I have 2 variable input&amp;nbsp;&lt;STRONG&gt;vID&lt;/STRONG&gt; and &lt;STRONG&gt;vCUSTNO&lt;/STRONG&gt;, and when user key-in one of those 2 key, will show the customer's list in filter pane, I add function in filter pane's feild, but it nouse, how do I fix the function ?&lt;/P&gt;
&lt;P&gt;Now , the function is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(vID='',text({&amp;lt;[contact_now_30d.CUST_NUM]={$(vCUSTNO)}&amp;gt;}[contact_now_30d.Program]),text({&amp;lt;[contact_now_30d.custnmbr]={$(vID)}&amp;gt;}[contact_now_30d.Program]))&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="擷取.JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161873i7ED8F02C7F461165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="擷取.JPG" alt="擷取.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 07:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430166#M96497</guid>
      <dc:creator>Ashley55</dc:creator>
      <dc:date>2024-03-13T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter pane with variable input function</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430192#M96498</link>
      <description>&lt;P&gt;Hello &lt;A href="https://www.maxim-timeclock.com" target="_self"&gt;Maxim Time Clock&lt;/A&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/290961"&gt;@Ashley55&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems like you’re trying to create a dynamic filter pane in Qlik where the displayed list is controlled by two variables, vID and vCUSTNO. The function you’ve written should theoretically work, but if it’s not functioning as expected, there might be a syntax issue or a problem with how the variables are being used within the set analysis.&lt;/P&gt;
&lt;P&gt;Here’s a revised version of your function that you can try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=if(
len(trim(vID)) = 0,
text({&amp;lt;[contact_now_30d.CUST_NUM] = {$(vCUSTNO)}&amp;gt;}[contact_now_30d.Program]),
text({&amp;lt;[contact_now_30d.custnmbr] = {$(vID)}&amp;gt;}[contact_now_30d.Program])
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This function checks if vID is empty (after trimming any whitespace), and if so, it uses vCUSTNO to filter the list. Otherwise, it uses vID. Make sure that the variables vID and vCUSTNO are defined correctly and that they are getting the expected values from the user input.&lt;/P&gt;
&lt;P&gt;If you’re still facing issues, it could be helpful to check the Qlik community forums or resources for specific examples or to get support from other Qlik developers. Additionally, ensure that your data model supports the relationships required for this filter to work correctly.&lt;/P&gt;
&lt;P&gt;I hope this will help you&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Maxim Time Clock&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 04:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430192#M96498</guid>
      <dc:creator>jessewallick</dc:creator>
      <dc:date>2024-03-14T04:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter pane with variable input function</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430195#M96500</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;=Aggr(if(&lt;BR /&gt;len(trim(vID)) = 0,&lt;BR /&gt;text(Only({&amp;lt;[contact_now_30d.CUST_NUM] = {'$(vCUSTNO)'}&amp;gt;}[contact_now_30d.Program])),&lt;BR /&gt;text(Only({&amp;lt;[contact_now_30d.custnmbr] = {'$(vID)'}&amp;gt;}[contact_now_30d.Program]))&lt;BR /&gt;), &lt;SPAN&gt;[contact_now_30d.Program]&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 08:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430195#M96500</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2024-03-13T08:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter pane with variable input function</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430205#M96503</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/292106"&gt;@jessewallick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your support, but this function actually works in "KPI" tool, however thanks for improve the function to avoid when user input blank space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It works !! thank you so much! I trapped in this function few weeks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 09:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-pane-with-variable-input-function/m-p/2430205#M96503</guid>
      <dc:creator>Ashley55</dc:creator>
      <dc:date>2024-03-13T09:17:17Z</dc:date>
    </item>
  </channel>
</rss>

