<?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: Pass filter value to Data load script in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652623#M48737</link>
    <description>&lt;P&gt;What you can do is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Declare a variable in the script&amp;nbsp;set vVariable=GetFieldSelections(FieldToFilter);&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Add a Navigation &amp;amp; Actions Button in the App and set a variable value&lt;OL&gt;&lt;LI&gt;variablename:&amp;nbsp; vVariable2&lt;/LI&gt;&lt;LI&gt;Value:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =$(vVariable) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You would need to create a partial reload button and add the following to the script:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Variable:&lt;BR /&gt;add Load&lt;BR /&gt;'$(vVariable2)' as Variable&lt;BR /&gt;autogenerate (1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VariablebyLine:&lt;BR /&gt;ADD LOAD&lt;BR /&gt;subfield(purgechar(Variable, chr(10)),',',$(i)) as Variable_NUMBER&lt;BR /&gt;RESIDENT Variable&lt;BR /&gt;Where Len(subfield(purgechar(Variable, chr(10)),',',$(i)))&amp;gt;0;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;In that way you would obtain the specific filter that you are doing inside the script&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Fri, 29 Nov 2019 10:20:45 GMT</pubDate>
    <dc:creator>lanlizgu</dc:creator>
    <dc:date>2019-11-29T10:20:45Z</dc:date>
    <item>
      <title>Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652595#M48735</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there a way where a filter value could be passed to data load script ?&lt;/P&gt;&lt;P&gt;I have tried using GetFieldSelections and other functions but they are not getting values passed rather passing the function as is.&lt;/P&gt;&lt;P&gt;Also , tried assigning the evaluated value to another variable but that also showing the function as is.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 09:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652595#M48735</guid>
      <dc:creator>Bhavani</dc:creator>
      <dc:date>2019-11-29T09:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652623#M48737</link>
      <description>&lt;P&gt;What you can do is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Declare a variable in the script&amp;nbsp;set vVariable=GetFieldSelections(FieldToFilter);&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Add a Navigation &amp;amp; Actions Button in the App and set a variable value&lt;OL&gt;&lt;LI&gt;variablename:&amp;nbsp; vVariable2&lt;/LI&gt;&lt;LI&gt;Value:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =$(vVariable) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You would need to create a partial reload button and add the following to the script:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Variable:&lt;BR /&gt;add Load&lt;BR /&gt;'$(vVariable2)' as Variable&lt;BR /&gt;autogenerate (1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VariablebyLine:&lt;BR /&gt;ADD LOAD&lt;BR /&gt;subfield(purgechar(Variable, chr(10)),',',$(i)) as Variable_NUMBER&lt;BR /&gt;RESIDENT Variable&lt;BR /&gt;Where Len(subfield(purgechar(Variable, chr(10)),',',$(i)))&amp;gt;0;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;In that way you would obtain the specific filter that you are doing inside the script&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 29 Nov 2019 10:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652623#M48737</guid>
      <dc:creator>lanlizgu</dc:creator>
      <dc:date>2019-11-29T10:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652644#M48740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;lanlizgu&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;I have tried the steps given by you. But,I am unable to get the field selected value to data load editor script.&lt;/P&gt;&lt;P&gt;Can you please share a qvf for this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhavani&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 11:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652644#M48740</guid>
      <dc:creator>Bhavani</dc:creator>
      <dc:date>2019-11-29T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652648#M48742</link>
      <description>&lt;P&gt;Please find attached a QVF that will store in a variable the selection done in a field (just select 1 value, for more values you would need to develop as mentioned):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You select 1 year&lt;/LI&gt;&lt;LI&gt;You click on My Button&lt;/LI&gt;&lt;LI&gt;You Click on Validar&lt;/LI&gt;&lt;LI&gt;Once the partial reload is done you will see in the vVariable2 variable the selected year&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to have the reload_partial extension and Navigation &amp;amp; Actions installed&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652648#M48742</guid>
      <dc:creator>lanlizgu</dc:creator>
      <dc:date>2019-11-29T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652664#M48743</link>
      <description>&lt;P&gt;The extensions holders in the app says invalid visualization inspite of having the extensions in place.&lt;/P&gt;&lt;P&gt;Do I have to select any navigation action ? or should it be none.?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 11:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652664#M48743</guid>
      <dc:creator>Bhavani</dc:creator>
      <dc:date>2019-11-29T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652678#M48744</link>
      <description>&lt;P&gt;You can't see none of the extensions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the Navigation + Actions&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/stefanwalther/sense-navigation" target="_blank"&gt;https://github.com/stefanwalther/sense-navigation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PFA the reload partial extension&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 12:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/1652678#M48744</guid>
      <dc:creator>lanlizgu</dc:creator>
      <dc:date>2019-11-29T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pass filter value to Data load script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/2476181#M100250</link>
      <description>&lt;P&gt;Hi , thanks for your help . I implemented this thing in my solution and it is working also but the major drawback is that when I am reloading my app for the particular input parameter the application is reloading for all the users who had opened this app parallely . Which is not correct behaviour to represent the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 04:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pass-filter-value-to-Data-load-script-in-Qlik-Sense/m-p/2476181#M100250</guid>
      <dc:creator>AyushSingh</dc:creator>
      <dc:date>2024-08-14T04:23:41Z</dc:date>
    </item>
  </channel>
</rss>

