<?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: Ad Hoc Filter using $Field and List Box referencing variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274186#M868596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to still be able to list the values within the field in my second list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think above comment by Dandamundi seems to be able to make it work - using a variable&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; vAdHocFilter&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;STRONG style="font-style: inherit;"&gt;=GetFieldSelections($Field), and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In the field expression for the second list box type &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=$(=vAdHocFilter)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Dec 2016 06:30:41 GMT</pubDate>
    <dc:creator>kerkying</dc:creator>
    <dc:date>2016-12-04T06:30:41Z</dc:date>
    <item>
      <title>Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274181#M868591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are implementing Qlikview server and in our ad hoc reporting solution want to allow filtering from a list of fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We cannot place multiple list boxes for each field as there are too many fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently thinking of displaying all the fields with a list box showing $Field and having a variable vAdHocFilter to store the field name selected from the list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We then have another List Box that has a field expression =vAdHocFilter but the listbox does not recognize the value in vAdHocFilter as a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas to make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274181#M868591</guid>
      <dc:creator>kerkying</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274182#M868592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be you can do as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a list box and select expression and type &lt;STRONG&gt;=$Field&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;--- You will see all the fields in data model in this list&lt;/P&gt;&lt;P&gt;2) Create a second list box and select expression and type&amp;nbsp; &lt;STRONG&gt;=GetFieldSelections($Field)&lt;/STRONG&gt;&amp;nbsp; &amp;lt;-- It will show the field selected in the first list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2016 10:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274182#M868592</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-03T10:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274183#M868593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other option that you can try based on your question:&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;"We then have another List Box that has a field expression =vAdHocFilter but the listbox does not recognize the value in vAdHocFilter as a field. "&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;In the field expression type &lt;STRONG&gt;=$(=vAdHocFilter)&lt;/STRONG&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;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR&lt;/STRONG&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In the field expression type&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=$'(=vAdHocFilter)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In the field expression type&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=$'(vAdHocFilter)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Assuming that you defined your variable vAdHocFilter&lt;STRONG&gt; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=GetFieldSelections($Field)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;H&lt;STRONG&gt;o&lt;/STRONG&gt;pe this helps....&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2016 10:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274183#M868593</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-03T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274184#M868594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can do Aggr($Field, $Field) for your second list box. What if I may, what is the purpose of your second list box? Will you be making further selections in the second list box or is this just to display what is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2016 11:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274184#M868594</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-03T11:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274185#M868595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dandamudi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion - its close but we want to still be able to make selections for the values of the selected field in the second list box. The &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=GetFieldSelections($Field) only displays the selected field, not showing the values in it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="capture2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145590_capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2016 06:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274185#M868595</guid>
      <dc:creator>kerkying</dc:creator>
      <dc:date>2016-12-04T06:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274186#M868596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to still be able to list the values within the field in my second list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think above comment by Dandamundi seems to be able to make it work - using a variable&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; vAdHocFilter&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;STRONG style="font-style: inherit;"&gt;=GetFieldSelections($Field), and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In the field expression for the second list box type &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=$(=vAdHocFilter)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2016 06:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274186#M868596</guid>
      <dc:creator>kerkying</dc:creator>
      <dc:date>2016-12-04T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Hoc Filter using $Field and List Box referencing variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274187#M868597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to show the values in the second list box then use the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(=GetFieldSelections( $Field ))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 02:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ad-Hoc-Filter-using-Field-and-List-Box-referencing-variable/m-p/1274187#M868597</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-05T02:01:02Z</dc:date>
    </item>
  </channel>
</rss>

