<?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 2 values in a Field using Macro/ Trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458194#M486625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I have just tried the OnSelect trigger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Field: Product_Group&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Search String: =if(Product_Group='ABC','(ABC|MNO)', '('&amp;amp; concat(Product_Group,'|') &amp;amp;')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;This works But on Clear All.. There are some other values getting selected.. Cant figure why thats happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 12:21:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-21T12:21:26Z</dc:date>
    <item>
      <title>Select 2 values in a Field using Macro/ Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458192#M486623</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 named "Product_Group" and have ~ 10 Values in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg Product_Group : ABC, DEF, GHI, JKL, MNO, PQR, STU, VWX ,YZA and BCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select ABC and want MNO to get slected automatically with this selection. This will be permanent and only when I select ABC.&lt;/P&gt;&lt;P&gt;On selection of others I dont want anything else to be selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know what should be the approch for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458192#M486623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-21T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select 2 values in a Field using Macro/ Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458193#M486624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a Select in Field action to the OnSelect trigger of your Product_Group field. The search string would be &lt;/P&gt;&lt;P&gt;=if(Product_Group='ABC','(ABC|MNO)', '('&amp;amp; concat(Product_Group,'|') &amp;amp;')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458193#M486624</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-21T11:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select 2 values in a Field using Macro/ Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458194#M486625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I have just tried the OnSelect trigger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Field: Product_Group&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Search String: =if(Product_Group='ABC','(ABC|MNO)', '('&amp;amp; concat(Product_Group,'|') &amp;amp;')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;This works But on Clear All.. There are some other values getting selected.. Cant figure why thats happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458194#M486625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-21T12:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select 2 values in a Field using Macro/ Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458195#M486626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=if(Product_Group='ABC','(ABC|MNO)', if(GetSelectedCount(Product_Group), '('&amp;amp; concat(Product_Group,'|') &amp;amp;')'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will prevent selecting all values in Product_Group when clearing all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-2-values-in-a-Field-using-Macro-Trigger/m-p/458195#M486626</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-21T12:35:06Z</dc:date>
    </item>
  </channel>
</rss>

