<?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 create straight table with loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354266#M514536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sander, that sounds like a good plan.&lt;/P&gt;&lt;P&gt;But I'm not sure how to script this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 09:30:22 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2017-07-10T09:30:22Z</dc:date>
    <item>
      <title>Macro create straight table with loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354264#M514534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to create a straight table from a data source with &amp;gt; 100 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These columns are increasing so I want to automate the process of adding the new columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also these columns need an 'Enable condition'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible with a macro and how would the loop look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API guide has the example for creating a straight table so that's not the question. How to loop and add the condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 08:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354264#M514534</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2017-07-10T08:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro create straight table with loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354265#M514535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could build up a table in QV script with all variables for your final table. For example a table with 2 fields : field name &amp;amp; condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your macro you could loop to this table and build your final straight table!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 09:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354265#M514535</guid>
      <dc:creator>gardenierbi</dc:creator>
      <dc:date>2017-07-10T09:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro create straight table with loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354266#M514536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sander, that sounds like a good plan.&lt;/P&gt;&lt;P&gt;But I'm not sure how to script this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 09:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354266#M514536</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2017-07-10T09:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro create straight table with loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354267#M514537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See as example : &lt;A href="http://www.qlikblog.at/662/qliktip-23-deleting-fields-loadscript-dynamically/" title="http://www.qlikblog.at/662/qliktip-23-deleting-fields-loadscript-dynamically/"&gt;http://www.qlikblog.at/662/qliktip-23-deleting-fields-loadscript-dynamically/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script loop through tables and fields. Replace the DELETE FIELD part for a concatenation of the field to your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 09:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-create-straight-table-with-loop/m-p/1354267#M514537</guid>
      <dc:creator>gardenierbi</dc:creator>
      <dc:date>2017-07-10T09:39:09Z</dc:date>
    </item>
  </channel>
</rss>

