<?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 on a created field using Action in Button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133135#M895212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple example could be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnA: &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnB:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;W&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explicitly created column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnC:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ColumnA='1',&lt;/P&gt;&lt;P&gt;if(ColumnB='A, 'Designated'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This becomes my explicitly created column/field in my Expressions Tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 19:36:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-04T19:36:31Z</dc:date>
    <item>
      <title>Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133133#M895210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a column based on certain conditions. It is not a direct field coming from the source. How do I create a button action on that explicitly created field? i.e, I need to apply filter on that created column when I click on a button.&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/Filter-on-a-created-field-using-Action-in-Button/m-p/1133133#M895210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133134#M895211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell us how do you "&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I am creating a column based on certain conditions"?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133134#M895211</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-04T19:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133135#M895212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple example could be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnA: &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnB:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;W&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explicitly created column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ColumnC:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ColumnA='1',&lt;/P&gt;&lt;P&gt;if(ColumnB='A, 'Designated'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This becomes my explicitly created column/field in my Expressions Tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133135#M895212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-04T19:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133136#M895213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you using htis &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;if(ColumnA='1',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;if(ColumnB='A, 'Designated'))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Is it possible to attach a sample? &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133136#M895213</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-04T19:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133137#M895214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;create a variable in the script or ctrl+alt+v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vFilter = (A|b|c); // A, b and c are values which you want to filter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In button actions:&lt;/P&gt;&lt;P&gt;Create 1st action to be Select in field. Choose your field and for Search string: =(vFilter)&lt;/P&gt;&lt;P&gt;Your button will filter only values within &lt;SPAN style="font-size: 13.3333px;"&gt;vFilter definition. If you want to select the excluded fields - to select everything other then vFilter values add 2nd action. It has to be Select excluded and chose again the same field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this will help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133137#M895214</guid>
      <dc:creator>ankali1990</dc:creator>
      <dc:date>2016-08-04T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133138#M895215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anastas, thank you for the help. I know how to create button actions. The use case here is a bit different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In button actions:&lt;/P&gt;&lt;P&gt;Create 1st action to be Select in field. &lt;STRONG&gt;Choose your field&lt;/STRONG&gt; and for Search string: =(vFilter)&lt;/P&gt;&lt;P&gt;Your button will filter only values within &lt;SPAN style="font-size: 13.3333px;"&gt;vFilter definition. If you want to select the excluded fields - to select everything other then vFilter values add 2nd action. It has to be Select excluded and chose again the same field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The problem here is &lt;STRONG&gt;"Choose your field"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;The Field is not a direct field. I am creating it with multiple 'if' statements in the expression. In this case, how can I add that a 'Field' in the Action?&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133138#M895215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-04T20:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on a created field using Action in Button</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133139#M895216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DRJ Dj,&lt;/P&gt;&lt;P&gt;sorry I missed this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;if(ColumnA='1',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;if(ColumnB='A, 'Designated')).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Basically when you select '&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Designated' value from your 'New Column' actually you select in:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ColumnA - 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ColumnB - A&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Based on my previous reply, "Choose your field" there are ColumnA and ColumnB. Based on your logic for the 'New column',&lt;SPAN style="line-height: 1.5em;"&gt;you should create two actions 'Select in field' and two variables for each field value. Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;1st Action: Select in field type; Field: ColumnA; Search String: 1 =&amp;gt; Make variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;2nd action: &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Select in field type; Field: ColumnB; Search String: A =&amp;gt; Make variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; 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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When you click the button, you will select values for both fields and you will select automatically based on your logic for 'New column' value '&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Designated&lt;/SPAN&gt;'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; 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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PS: It is better to have these Ifs in the script, but probably you know that and there is any issue for implementing this in the script.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Hope it helps,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 09:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-on-a-created-field-using-Action-in-Button/m-p/1133139#M895216</guid>
      <dc:creator>ankali1990</dc:creator>
      <dc:date>2016-08-08T09:27:14Z</dc:date>
    </item>
  </channel>
</rss>

