<?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 - Alternate State - Button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146467#M375123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the prompt response Sunny!&lt;/P&gt;&lt;P&gt;Yes, this works and I would have not guessed the "10000, '$'" tweak. Could you please explain how the '10000' and the '$' does tte magic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sokol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 20:52:04 GMT</pubDate>
    <dc:creator>spetushi</dc:creator>
    <dc:date>2016-05-13T20:52:04Z</dc:date>
    <item>
      <title>Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146465#M375121</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;I have a field with string values with non-alphabetic characters, Product Name. Using OnSelect trigger and alternate state I can apply the same selections from Product Name (&amp;lt;inherited&amp;gt;) to Product Name (State B). I am not able to do the same by using a button action.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have tested the following two approaches in the Search String: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;approach1-&amp;nbsp; ='('&amp;amp;GetFieldSelections([ProductName],'|')&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;approach2-&amp;nbsp; ='("' &amp;amp; getFieldSelections([Product Name], '"|"') &amp;amp; '")'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample qvw as well for ease of testing.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SelectInField.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124586_SelectInField.PNG" style="height: 249px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sokol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146465#M375121</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2016-05-13T20:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146466#M375122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= '("' &amp;amp; getFieldSelections([ProductName], '"|"'&lt;SPAN style="color: #ff0000;"&gt;, 10000, '$'&lt;/SPAN&gt;) &amp;amp; '")'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146466#M375122</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-13T20:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146467#M375123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the prompt response Sunny!&lt;/P&gt;&lt;P&gt;Yes, this works and I would have not guessed the "10000, '$'" tweak. Could you please explain how the '10000' and the '$' does tte magic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sokol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146467#M375123</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2016-05-13T20:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146468#M375124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to increase or decrease 1000 based on your requirement. Read about the role of 1000 here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm"&gt;GetFieldSelections ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 20:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146468#M375124</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-13T20:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146469#M375125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try with &lt;STRONG&gt;Concat&lt;/STRONG&gt; Function instead of getfieldselections. If you select all it show ALL I guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 21:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146469#M375125</guid>
      <dc:creator />
      <dc:date>2016-05-13T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146470#M375126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, works as expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 21:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146470#M375126</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2016-05-13T21:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146471#M375127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really know why it works this way, but the issue seems to be related to the fact that you were triggering a select in field action on an Alternate State&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124638_Capture.PNG" style="height: 220px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the trigger was in alternate state, it was picking the selection in the alternate state as well using&amp;nbsp; &lt;STRONG&gt;GetFieldSelections([ProductName], '"|"')&lt;/STRONG&gt;.Now in order to specify state in GetFieldSelections() you can use the fourth parameter to do that. Help section doesn't disclose that, but starting SR 8, some functions which did not take state information allowed to specify alternate state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124639_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Use of 1000 was arbitrary but its significance is that if you have a lot of values to select from, GetFieldSelections() will only them listed out until you have less values selected (I think the number is 5 or 6 by default, but have not tested it out) and as soon as the number increases it starts doing NOT or some other thing. With specifying 1000, I told &lt;SPAN style="font-size: 13.3333px;"&gt;GetFieldSelections() to list out values until 1000 selections. For your situation it will depend on how many selections are possible by user. You might want to make it 10 or 10,000 based on your requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this all would make it clear &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 04:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146471#M375127</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-15T04:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146472#M375128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;visit this site you can understand the altertvie state&lt;A href="https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=alternate+state+in+qlikview&amp;amp;oq=alterative+state+in+&amp;amp;gs_l=hp.1.0.0i13l3j0i13i30l2j0i8i13i30j0i13i30.16613.23761.0.27645.20.19.0.0.0.0.437.2251.0j3j1j3j1.8.0....0...1c.1.64.hp..12.8.2248...0j46j0i46j0i10j0i13i10j0i22i30.eCj-mtl3nzo" title="https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=alternate+state+in+qlikview&amp;amp;oq=alterative+state+in+&amp;amp;gs_l=hp.1.0.0i13l3j0i13i30l2j0i8i13i30j0i13i30.16613.23761.0.27645.20.19.0.0.0.0.437.2251.0j3j1j3j1.8.0....0...1c.1.64.hp..12.8.2248...0j46j0i46j0i10j0i13i10j0i22i30.eCj-mtl3nzo"&gt;https://www.google.co.in/search?site=&amp;amp;source=hp&amp;amp;q=alternate+state+in+qlikview&amp;amp;oq=alterative+state+in+&amp;amp;gs_l=hp.1.0.0i13l3…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 04:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146472#M375128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-15T04:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select In Field - Alternate State - Button</title>
      <link>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146473#M375129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 13:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-In-Field-Alternate-State-Button/m-p/1146473#M375129</guid>
      <dc:creator>spetushi</dc:creator>
      <dc:date>2016-05-16T13:45:29Z</dc:date>
    </item>
  </channel>
</rss>

