<?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: How to filter data based on hardcoded filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16987#M1164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A ValueList() is not a field, and it only has any meaning inside the object in which it is defined. So you can reference the ValueList from a dimension in an expression in the same object, but there is no way to select a value or to retrieve the selected value from another object, a macro or the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like you need an island table - one that is not associated with any other table. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValueIsland:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; island_Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use the fields island_Value instead of the ValueList()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 10:47:48 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-03-01T10:47:48Z</dc:date>
    <item>
      <title>How to filter data based on hardcoded filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16984#M1161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello Everyone,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have a requirement wherein I have to create a Hardcoded filter like below:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ValueList('A','B','C')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;And as per the value selected by user in the above filter I have to modify the data of a particular table (not the overall application).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please suggest if there's any way of doing this.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Qliksense Version: QS Desktop June&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tauceef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 07:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16984#M1161</guid>
      <dc:creator>tauceef9</dc:creator>
      <dc:date>2018-02-27T07:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data based on hardcoded filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16985#M1162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;ValueList('A','B','C')='A', formula A',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;ValueList('A','B','C'))='B', formula B', formula C'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 08:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16985#M1162</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-02-27T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data based on hardcoded filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16986#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaume,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this code but it is not working for me. As mentioned earlier we have created the hardcoded filter which is not linked with my data anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way we can get the selected value of a particular filter in sense? so that will use it in my formula to do the calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found one function "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections(dimention)" but this will not work in my case as I have created this filter using Listvalue() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Looking forward for a work around.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited:&lt;/P&gt;&lt;P&gt;Just found one more thing, which is bad again.&lt;/P&gt;&lt;P&gt;I have created the filter using Valuelist() function but when I select anything, no filter is getting applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I think I have to start asking from one step backword:&lt;/P&gt;&lt;P&gt;1. how to create a hardcoded filter with some values.&lt;/P&gt;&lt;P&gt;2. how we can use this filter in any chart or table to filter data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tauceef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 10:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16986#M1163</guid>
      <dc:creator>tauceef9</dc:creator>
      <dc:date>2018-03-01T10:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data based on hardcoded filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16987#M1164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A ValueList() is not a field, and it only has any meaning inside the object in which it is defined. So you can reference the ValueList from a dimension in an expression in the same object, but there is no way to select a value or to retrieve the selected value from another object, a macro or the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like you need an island table - one that is not associated with any other table. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValueIsland:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; island_Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use the fields island_Value instead of the ValueList()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 10:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16987#M1164</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-01T10:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data based on hardcoded filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16988#M1165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan, it works perfectly for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tauceef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 03:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-based-on-hardcoded-filter/m-p/16988#M1165</guid>
      <dc:creator>tauceef9</dc:creator>
      <dc:date>2018-03-03T03:04:04Z</dc:date>
    </item>
  </channel>
</rss>

