<?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: Select in Field if Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086083#M361610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Selected values need to be in this format for the selection to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;("Value 1"|"Value 2"|"Value 3")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a better help, it would be great if you can share a sample with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 21:34:14 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-13T21:34:14Z</dc:date>
    <item>
      <title>Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086082#M361609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the select in field action as part of a button, to select a number of values from a list box.&amp;nbsp; Based on the if statement, there can be as few as 1 and as many as 12 values selected.&amp;nbsp; I'm unsure of the syntax for defining the expression, and for defining the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( sum(Sales) &amp;gt; 80, FieldValue1, FieldValue2, FieldValue3, etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, when I click on the button, if the FieldValue's sum(Sales) is &amp;gt; 80, it will automatically be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086082#M361609</guid>
      <dc:creator>michaeldburt</dc:creator>
      <dc:date>2016-01-13T21:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086083#M361610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Selected values need to be in this format for the selection to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;("Value 1"|"Value 2"|"Value 3")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a better help, it would be great if you can share a sample with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086083#M361610</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-13T21:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086084#M361611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the response.&amp;nbsp; This is how is originally had my expression set up, with the '("Value1"|"Value2"|"Value3")' syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I was running into is that even Values that did not meet the criteria were being selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086084#M361611</guid>
      <dc:creator>michaeldburt</dc:creator>
      <dc:date>2016-01-13T21:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086085#M361612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't say much without looking at a sample. Would you be able to share one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086085#M361612</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-13T21:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086086#M361613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;='(' &amp;amp; '"' &amp;amp; concat({$ &amp;lt;Field={"=sum(Sales)&amp;gt;80"}&amp;gt;} Field, '"' &amp;amp; '|' &amp;amp; '"') &amp;amp; '"' &amp;amp; ')'&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086086#M361613</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-13T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086087#M361614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure that I understand what the above is trying to accomplish MG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086087#M361614</guid>
      <dc:creator>michaeldburt</dc:creator>
      <dc:date>2016-01-13T21:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086088#M361615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cannot share sample.&amp;nbsp; Can share an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field, called Town.&amp;nbsp; Town has 4 values, TownA, TownB, TownC, TownD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expression.&amp;nbsp; sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button, with a Select in Field action.&amp;nbsp; When I click this button, I want it to select in Town, the towns that have sum(Sales) &amp;gt;= 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, TownA has sum(sales) of 75, TownB has sum(sales) 85, TownC has sum(Sales) or 82, and TownD has sum(Sales) of 75.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first attempt at using the if statement was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( sum(Sales) &amp;gt;= 80 , '("TownA"|"TownB"|"TownC"|"TownD")' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted this statement to select TownB and TownC, but it selected all the Towns.&amp;nbsp; I'm trying to get it so that only B and C are selected.&amp;nbsp; But, this does need to be dynamic, as TownB and TownC won't always fit the condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086088#M361615</guid>
      <dc:creator>michaeldburt</dc:creator>
      <dc:date>2016-01-13T22:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086089#M361616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086089#M361616</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-13T22:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field if Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086090#M361617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is it.&amp;nbsp; Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-if-Statement/m-p/1086090#M361617</guid>
      <dc:creator>michaeldburt</dc:creator>
      <dc:date>2016-01-13T22:23:24Z</dc:date>
    </item>
  </channel>
</rss>

