<?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 Selecting field by Action with Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/406998#M560864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select a field's value by using actions, but it does not work the way I hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the scenario (a bit complicated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple tabs and I am using variables to identify them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable that changes when different page is activated. &lt;STRONG&gt;OnChange &lt;/STRONG&gt;event for this variable I am calling the following Action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;[Select in Field]&lt;/STRONG&gt; --&amp;gt;Field Name = &lt;STRONG&gt;[Agreement Type]&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Search String &lt;STRONG&gt;= if ('$(vLevel_View_Current)' = '$(vLevel_View_3_Name)', 'Miscellaneous', Null())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;[Select Excluded]&lt;/STRONG&gt;--&amp;gt;Field Name =&lt;STRONG&gt; [Agreement Type] &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to select &lt;STRONG&gt;ALL&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;but&lt;/SPAN&gt; 'Miscellaneous'&lt;/STRONG&gt; values in&amp;nbsp; [&lt;STRONG&gt;Agreement Type&lt;/STRONG&gt;] field when user switches to &lt;STRONG&gt;vLevel_View_3_Name &lt;/STRONG&gt;tab.&lt;/P&gt;&lt;P&gt;It works but with one problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any other field have the selected value, the application selects associated values in the &lt;STRONG&gt;[Agreement Type]&lt;/STRONG&gt; field when I am selecting &lt;SPAN style="text-decoration: underline;"&gt;any other but&lt;/SPAN&gt;&amp;nbsp; &lt;STRONG&gt;vLevel_View_3_Name &lt;/STRONG&gt;tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing the &lt;SPAN style="text-decoration: underline;"&gt;Null()&lt;/SPAN&gt; in SearchString formula above causes this, but I was not able to find any other option to fulfill the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option that could work for me with the above condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate your comments and/or suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 16:38:26 GMT</pubDate>
    <dc:creator>vlad_komarov</dc:creator>
    <dc:date>2013-03-29T16:38:26Z</dc:date>
    <item>
      <title>Selecting field by Action with Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/406998#M560864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select a field's value by using actions, but it does not work the way I hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the scenario (a bit complicated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple tabs and I am using variables to identify them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable that changes when different page is activated. &lt;STRONG&gt;OnChange &lt;/STRONG&gt;event for this variable I am calling the following Action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;[Select in Field]&lt;/STRONG&gt; --&amp;gt;Field Name = &lt;STRONG&gt;[Agreement Type]&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Search String &lt;STRONG&gt;= if ('$(vLevel_View_Current)' = '$(vLevel_View_3_Name)', 'Miscellaneous', Null())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;[Select Excluded]&lt;/STRONG&gt;--&amp;gt;Field Name =&lt;STRONG&gt; [Agreement Type] &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to select &lt;STRONG&gt;ALL&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;but&lt;/SPAN&gt; 'Miscellaneous'&lt;/STRONG&gt; values in&amp;nbsp; [&lt;STRONG&gt;Agreement Type&lt;/STRONG&gt;] field when user switches to &lt;STRONG&gt;vLevel_View_3_Name &lt;/STRONG&gt;tab.&lt;/P&gt;&lt;P&gt;It works but with one problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any other field have the selected value, the application selects associated values in the &lt;STRONG&gt;[Agreement Type]&lt;/STRONG&gt; field when I am selecting &lt;SPAN style="text-decoration: underline;"&gt;any other but&lt;/SPAN&gt;&amp;nbsp; &lt;STRONG&gt;vLevel_View_3_Name &lt;/STRONG&gt;tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing the &lt;SPAN style="text-decoration: underline;"&gt;Null()&lt;/SPAN&gt; in SearchString formula above causes this, but I was not able to find any other option to fulfill the above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option that could work for me with the above condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate your comments and/or suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 16:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/406998#M560864</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2013-03-29T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting field by Action with Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/406999#M560865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not because of the nulls. Nulls can't be selected. It's because of the selections in other fields. The Select Excluded only selects values that are possible given the selections in other fields. That's not what you want apparently. Try adding a Clear All action before the Select in Field action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 19:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/406999#M560865</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-29T19:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting field by Action with Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/407000#M560866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it works when I've added a ClearAll call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only concern is that it clears all filters when switching between pages, which kind of goes against QV idea of Associative Selection....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladimir &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Mar 2013 11:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-field-by-Action-with-Conditions/m-p/407000#M560866</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2013-03-30T11:36:08Z</dc:date>
    </item>
  </channel>
</rss>

