<?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: Macro to select multiple values in the single field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870022#M661117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First am not sure the explanation is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to reduce and save a file containing information for a particular country, why not reduce in the script, just have a WHERE clause, i.e. WHERE Country ='Japan' OR Country ='China'...&lt;/P&gt;&lt;P&gt;Then STORE &lt;TABLE&gt; INTO c\filelocation.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if this is to prevent user from having access to other country's data then you can implement SECURITY read this blog by HIC, &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/06/09/methods-for-data-reduction"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2014/06/09/methods-for-data-reduction&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;This are just general suggestion. If you can explain what you wish to achieve then someone from the community will give you more accurate suggestion.&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 21:15:19 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2015-04-07T21:15:19Z</dc:date>
    <item>
      <title>Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870020#M661115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to select multiple values in the single field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;County&lt;/P&gt;&lt;P&gt;Japan&lt;/P&gt;&lt;P&gt;Singapore&lt;/P&gt;&lt;P&gt;Korea&lt;/P&gt;&lt;P&gt;China&lt;/P&gt;&lt;P&gt;Germany&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;P&gt;London&lt;/P&gt;&lt;P&gt;Brazil&lt;/P&gt;&lt;P&gt;Canada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to reduce the data and save the file only with Japan and China.&lt;/P&gt;&lt;P&gt;Another file will be USA,Canada.&lt;/P&gt;&lt;P&gt;Country is the field is linked with other tables. I would like to do this filtering only in the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 20:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870020#M661115</guid>
      <dc:creator />
      <dc:date>2015-04-07T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870021#M661116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not very clear about why you want to use macro.&lt;/P&gt;&lt;P&gt;Are these statdard groupings or random?&lt;/P&gt;&lt;P&gt;Do you want to manually reduce the files or thru publisher?&lt;/P&gt;&lt;P&gt;Why not create another field for these groupings and use that field for the reducing of the files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 20:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870021#M661116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T20:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870022#M661117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First am not sure the explanation is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to reduce and save a file containing information for a particular country, why not reduce in the script, just have a WHERE clause, i.e. WHERE Country ='Japan' OR Country ='China'...&lt;/P&gt;&lt;P&gt;Then STORE &lt;TABLE&gt; INTO c\filelocation.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if this is to prevent user from having access to other country's data then you can implement SECURITY read this blog by HIC, &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/06/09/methods-for-data-reduction"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2014/06/09/methods-for-data-reduction&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;This are just general suggestion. If you can explain what you wish to achieve then someone from the community will give you more accurate suggestion.&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 21:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870022#M661117</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-04-07T21:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870023#M661118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would Bookmark be another alternative?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 21:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870023#M661118</guid>
      <dc:creator />
      <dc:date>2015-04-07T21:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870024#M661119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Book mark and Where clause is not solve the problem.&lt;/P&gt;&lt;P&gt;I am looking for Macro to reduce the data .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870024#M661119</guid>
      <dc:creator />
      <dc:date>2015-04-08T13:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870025#M661120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sub JapanChina&lt;BR /&gt; ActiveDocument.Fields("Country").Select "(Japan|China)"&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub USACanada&lt;BR /&gt; ActiveDocument.Fields("Country").Select "(USA|Canada)"&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870025#M661120</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-04-08T14:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870026#M661121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry what if one of the fields has a space? i am struggling with one:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sub JapanSouthAmerica&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ActiveDocument.Fields("Country").Select "(Japan|South America)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 12:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870026#M661121</guid>
      <dc:creator />
      <dc:date>2015-09-30T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select multiple values in the single field</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870027#M661122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An possibility would be to use multiple double-quotes like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"(""Japan""|""South America"")"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you used toggleselect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Fields("Country").Select "Japan"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Fields("Country").ToggleSelect "South America"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 12:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-multiple-values-in-the-single-field/m-p/870027#M661122</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-30T12:58:33Z</dc:date>
    </item>
  </channel>
</rss>

