<?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 Creating a dynamic straight table from load script table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152884#M30136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have also tried this to same effect (creates gray bar but no fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chart.AddDimension "DEAL_CD"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2009 05:35:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-16T05:35:59Z</dc:date>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152881#M30133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to figure out a way to create a straight table box chart on the Main sheet as the document opens, and dynamically add the fields in the table created in a loadscript. The reason for this is that the table in loadscript is drawn from Oracle metadata tables and the field list will be variable.&lt;/P&gt;&lt;P&gt;the painfully manual alternative is to manually create the chart each time there is a change in the underlying table structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight appreciated. Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 12:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152881#M30133</guid>
      <dc:creator />
      <dc:date>2009-11-15T12:19:17Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152882#M30134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Chris.&lt;/P&gt;&lt;P&gt;I think that you should create a macros, which will dynamic create a chart Object. See more details in APIguide.qvw.&lt;/P&gt;&lt;P&gt;But it's good idea only if you know WHAT fields are DIMENSIONs and what fields are MEASUREs (for using in expression tab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, Anatoly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 19:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152882#M30134</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-11-15T19:02:03Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152883#M30135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that I should be able to, but all I get with the macros is the gray bar indicating that the chart object is created, with no error for the rest of the code, but no fields added to the chart:&lt;/P&gt;&lt;P&gt;Sub make_chart&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheet(1).CreateStraightTable&lt;/P&gt;&lt;P&gt;chart.AddDimension(DEAL_CD)&lt;/P&gt;&lt;P&gt;chart.AddExpression(DEAL_NAME)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how to get this to work? The DEAL_CD, DEAL_NAME are fields created in a table in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 05:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152883#M30135</guid>
      <dc:creator />
      <dc:date>2009-11-16T05:29:03Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152884#M30136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have also tried this to same effect (creates gray bar but no fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chart.AddDimension "DEAL_CD"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 05:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152884#M30136</guid>
      <dc:creator />
      <dc:date>2009-11-16T05:35:59Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152885#M30137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Chris.&lt;/P&gt;&lt;P&gt;Look at my example (in attachments)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Anatoly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 15:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152885#M30137</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-11-16T15:14:11Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152886#M30138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does the same thing, just created the stub of a Straight Table - the top bar with min/max controls on the right. With no fields/columns in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152886#M30138</guid>
      <dc:creator />
      <dc:date>2009-11-16T18:22:04Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152887#M30139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there something subsequent to this step to add the data from the table that was created in the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also opened the table and on the dimension tab, no dimensions are added. On the expression tab, no expressions are added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152887#M30139</guid>
      <dc:creator />
      <dc:date>2009-11-16T18:23:08Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152888#M30140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what version Do you use?&lt;/P&gt;&lt;P&gt;Because? after I pressed the button, I see a good straight Table&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2654.img.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2654.img.png" /&gt;&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;regards, Anatoly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152888#M30140</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-11-16T18:33:39Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152889#M30141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9.00.7119.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152889#M30141</guid>
      <dc:creator />
      <dc:date>2009-11-16T18:38:01Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152890#M30142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what happens:&lt;/P&gt;&lt;P&gt;Edit Module Box pops up and the stub of a table is created:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2654.screenshot.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2654.screenshot.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152890#M30142</guid>
      <dc:creator />
      <dc:date>2009-11-16T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152891#M30143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first try to reload script, then press button.&lt;/P&gt;&lt;P&gt;I have a QV 9.0 SR2 but this code worked also in 8.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152891#M30143</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-11-16T18:49:27Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152892#M30144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that would work once you mentioned it, but no dice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 19:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152892#M30144</guid>
      <dc:creator />
      <dc:date>2009-11-16T19:22:26Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152893#M30145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be it's bug in your QV Build?&lt;/P&gt;&lt;P&gt;Can you try this example on QV 9 SR1 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 19:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152893#M30145</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-11-16T19:28:28Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152894#M30146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. Downloading the update. Anyhow thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 19:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152894#M30146</guid>
      <dc:creator />
      <dc:date>2009-11-16T19:32:39Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152895#M30147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I tried it and I got the same error. I doubt that we both have a bg in te build.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 16:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152895#M30147</guid>
      <dc:creator />
      <dc:date>2010-03-10T16:01:27Z</dc:date>
    </item>
    <item>
      <title>Creating a dynamic straight table from load script table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152896#M30148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I got the same error too.&lt;/P&gt;&lt;P&gt;I finally managed to get it to work, although the "solution" seems a little odd ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub chartmaker()&lt;BR /&gt; set tbl = ActiveDocument.Sheets(0).CreateStraightTable&lt;BR /&gt; tbl.AddExpression "sum(Amount)" 'add expressions first&lt;BR /&gt; tbl.AddDimension "Product"&lt;BR /&gt; set tbl = nothing&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After stretching the code in many ways, I noticed that it would make it just by swapping two lines in Anatoly's code (ie adding expressions first, and then dimensions).&lt;/P&gt;&lt;P&gt;Hope this will help&lt;/P&gt;&lt;P&gt;Hilaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 15:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-dynamic-straight-table-from-load-script-table/m-p/152896#M30148</guid>
      <dc:creator />
      <dc:date>2010-03-11T15:11:05Z</dc:date>
    </item>
  </channel>
</rss>

