<?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 How to auto-rerun script for different files? in Search the Community</title>
    <link>https://community.qlik.com/t5/Search-the-Community/How-to-auto-rerun-script-for-different-files/m-p/1814720#M365</link>
    <description>&lt;P&gt;Hi, I have just started using qliksense and I don't know to proceed with this.&lt;/P&gt;&lt;P&gt;There are data from different countries.&lt;/P&gt;&lt;P&gt;Eg. India:&lt;/P&gt;&lt;P&gt;columns: customerID, Date, Amountspent&lt;/P&gt;&lt;P&gt;customerID for India has a unique prefix 'IN' so it would look like this, IN421445&lt;/P&gt;&lt;P&gt;Malaysia:&lt;/P&gt;&lt;P&gt;columns:columns: customerID, Date, Amountspent&lt;/P&gt;&lt;P&gt;customerID for Malaysia has a unique prefix 'MY' so it would look like this, MY879745&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am required to have data visualization for both within countries and across countries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I need to have a script like this:&lt;/P&gt;&lt;P&gt;Script section A(to load all files AUTOMATICALLY)&lt;/P&gt;&lt;P&gt;if Vcountry='MY'&amp;nbsp; &amp;nbsp; (Malaysia)&lt;/P&gt;&lt;P&gt;run script B which changes some of the fields and renames everything to MY.field&lt;/P&gt;&lt;P&gt;if Vcountry='India'&amp;nbsp;&lt;/P&gt;&lt;P&gt;run script B which changes some of the fields and renames everything to India.field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also don't want to manually copy-paste script B for all the different countries, is there any way to make it repeat automatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I have no idea how to go about doing this, any help would be much appreciated! thank you&lt;/P&gt;</description>
    <pubDate>Sun, 13 Jun 2021 13:22:07 GMT</pubDate>
    <dc:creator>meera__</dc:creator>
    <dc:date>2021-06-13T13:22:07Z</dc:date>
    <item>
      <title>How to auto-rerun script for different files?</title>
      <link>https://community.qlik.com/t5/Search-the-Community/How-to-auto-rerun-script-for-different-files/m-p/1814720#M365</link>
      <description>&lt;P&gt;Hi, I have just started using qliksense and I don't know to proceed with this.&lt;/P&gt;&lt;P&gt;There are data from different countries.&lt;/P&gt;&lt;P&gt;Eg. India:&lt;/P&gt;&lt;P&gt;columns: customerID, Date, Amountspent&lt;/P&gt;&lt;P&gt;customerID for India has a unique prefix 'IN' so it would look like this, IN421445&lt;/P&gt;&lt;P&gt;Malaysia:&lt;/P&gt;&lt;P&gt;columns:columns: customerID, Date, Amountspent&lt;/P&gt;&lt;P&gt;customerID for Malaysia has a unique prefix 'MY' so it would look like this, MY879745&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am required to have data visualization for both within countries and across countries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I need to have a script like this:&lt;/P&gt;&lt;P&gt;Script section A(to load all files AUTOMATICALLY)&lt;/P&gt;&lt;P&gt;if Vcountry='MY'&amp;nbsp; &amp;nbsp; (Malaysia)&lt;/P&gt;&lt;P&gt;run script B which changes some of the fields and renames everything to MY.field&lt;/P&gt;&lt;P&gt;if Vcountry='India'&amp;nbsp;&lt;/P&gt;&lt;P&gt;run script B which changes some of the fields and renames everything to India.field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also don't want to manually copy-paste script B for all the different countries, is there any way to make it repeat automatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I have no idea how to go about doing this, any help would be much appreciated! thank you&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 13:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/How-to-auto-rerun-script-for-different-files/m-p/1814720#M365</guid>
      <dc:creator>meera__</dc:creator>
      <dc:date>2021-06-13T13:22:07Z</dc:date>
    </item>
  </channel>
</rss>

