<?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: Dynamic container with tableBox inside in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925001#M646694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step one would be, in my opinion, to create for each License Plate a seperate table in your datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPList:&lt;/P&gt;&lt;P&gt;load Distinct&lt;/P&gt;&lt;P&gt;@1 as LicensePlate&lt;/P&gt;&lt;P&gt;Resident MainTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to NoOfRows('LPList')&lt;/P&gt;&lt;P&gt;Let vLplate = peek('LicensePlate', $(i), 'LPList');&lt;/P&gt;&lt;P&gt;Trace ========================$(vLplate);&lt;/P&gt;&lt;P&gt;QUALIFY*;&lt;/P&gt;&lt;P&gt;load * Resident Table where @1 = '$(vLplate)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this will help you get further.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 11:43:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-03T11:43:19Z</dc:date>
    <item>
      <title>Dynamic container with tableBox inside</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/924999#M646691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day everyone. &lt;/P&gt;&lt;P&gt;I have next issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Data source I have qvd file with next structure&lt;/P&gt;&lt;P&gt;License Plate | Start Point | Destination |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="74" style="width: 406px; height: 75px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="64"&gt;AAAAA&lt;/TD&gt;&lt;TD class="xl64" width="16"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Start Point1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="145"&gt;Destination point 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="text-align: left;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AAAAA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Start Point2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destination point 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;AAAAA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Start Point3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destination point 3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="74" style="width: 406px; height: 75px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="64"&gt;BBB&lt;/TD&gt;&lt;TD class="xl64" width="16"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Start Point4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="145"&gt;Destination point 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="text-align: left;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;BBB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Start Point2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destination point 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64"&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;BBB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Start Point5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Destination point 6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each license plate should be created separate table Box and all table boxes should be inside one container. &lt;/P&gt;&lt;P&gt;I was trying to create one TableBox with all information and after &lt;SPAN style="font-size: 13.3333px;"&gt;inside VB script&lt;/SPAN&gt; for each License plate create separate table and put this table in ContainerBox.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Unfortunately I did not found any possibility to get just part of rows from General table and Paste it into new one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From other side I also tried to run macro from load script.&lt;/P&gt;&lt;P&gt;Idea was to go through all license plates inside load script and for each part of datasource call VB macro which creates a table based on that part of datasource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still any success &lt;/P&gt;&lt;P&gt;Problem is that macro did not starts from load script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any idea about this question? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 09:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/924999#M646691</guid>
      <dc:creator />
      <dc:date>2015-11-03T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic container with tableBox inside</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925000#M646693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding running macro from loadscript. It doesn't work in Publisher if you have a macro that needs system access. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925000#M646693</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-11-03T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic container with tableBox inside</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925001#M646694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step one would be, in my opinion, to create for each License Plate a seperate table in your datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPList:&lt;/P&gt;&lt;P&gt;load Distinct&lt;/P&gt;&lt;P&gt;@1 as LicensePlate&lt;/P&gt;&lt;P&gt;Resident MainTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to NoOfRows('LPList')&lt;/P&gt;&lt;P&gt;Let vLplate = peek('LicensePlate', $(i), 'LPList');&lt;/P&gt;&lt;P&gt;Trace ========================$(vLplate);&lt;/P&gt;&lt;P&gt;QUALIFY*;&lt;/P&gt;&lt;P&gt;load * Resident Table where @1 = '$(vLplate)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this will help you get further.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925001#M646694</guid>
      <dc:creator />
      <dc:date>2015-11-03T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic container with tableBox inside</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925002#M646696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a possible approach. &lt;/P&gt;&lt;P&gt;1. Create several Straight Table charts (not table boxes) in your container. Call them Lic1, Lic2, etc. &lt;/P&gt;&lt;P&gt;2. In the script assign to the unique License numbers to variables vLic1, vLic2, etc.&lt;/P&gt;&lt;P&gt;3. In the charts, use a calculated dim of&lt;/P&gt;&lt;P&gt;=aggr(only({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LicensePlate&lt;/SPAN&gt;={$(vLic1)}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LicensePlate&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LicensePlate&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;4. Use conditional show to hide the charts that don't have vLicN value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to pre-create the max possible charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 14:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925002#M646696</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-11-03T14:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic container with tableBox inside</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925003#M646697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rod for the response. &lt;/P&gt;&lt;P&gt;Actually it might work. &lt;/P&gt;&lt;P&gt;What I've done is next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. - I created a listbox with $Table field&lt;/P&gt;&lt;P&gt;2. - For each item from this listbox I'm creating a separate pivot table inside VB Script&lt;/P&gt;&lt;P&gt;3. - And the last step should be like this - when table is being created it should be added to Container box, which was created in VB Script also. But here I met some difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below you can see my VB Script code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dim counter &lt;/P&gt;&lt;P&gt;sub GetAllItemsFromListBox&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set ContainerObj = ActiveDocument.Sheets("Main").CreateContainer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set ContProp=ContainerObj.GetProperties&lt;/P&gt;&lt;P&gt;ContProp.Frame.Name.v = "Selections"&lt;/P&gt;&lt;P&gt;ContProp.SingleObjectMode = 1&lt;/P&gt;&lt;P&gt;ContProp.SingleObjectStyle = 1&lt;/P&gt;&lt;P&gt;ContProp.ShowObjectTypeIcons = True&lt;/P&gt;&lt;P&gt;set lb = ActiveDocument.GetSheetObject( "LB01" )&lt;/P&gt;&lt;P&gt;h = lb.GetRowCount&lt;/P&gt;&lt;P&gt;counter =0&lt;/P&gt;&lt;P&gt;for RowIter=0 to h-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rem 2. Create charts for all tables in tableModel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.Activesheet.CreatePivotTable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddDimension lb.GetCell(RowIter,0).Text&amp;amp;".@2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddDimension lb.GetCell(RowIter,0).Text&amp;amp;".@3"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddExpression "["&amp;amp;lb.GetCell(RowIter,0).Text&amp;amp;".@4]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddExpression "["&amp;amp;lb.GetCell(RowIter,0).Text&amp;amp;".@5]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddExpression "["&amp;amp;lb.GetCell(RowIter,0).Text&amp;amp;".@6]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddExpression "["&amp;amp;lb.GetCell(RowIter,0).Text&amp;amp;".@7]"A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cp = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.TableProperties.IndentMode = true&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.TableProperties.NumberOfLeftDimensions = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.GraphLayout.Frame.ObjectId = lb.GetCell(RowIter,0).Text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.SetProperties cp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContProp.ContainedObjects.Add&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContProp.ContainedObjects.Item(RowIter).Id = "Document\"&amp;amp;lb.GetCell(RowIter,0).Text&amp;amp;"]"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContProp.ContainedObjects.Item(RowIter).Text.v = "text"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;ContainerObj.SetProperties ContProp&lt;/P&gt;&lt;P&gt;end Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway we found other way for presenting data ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank all of you for the help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 15:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-container-with-tableBox-inside/m-p/925003#M646697</guid>
      <dc:creator />
      <dc:date>2015-11-06T15:30:05Z</dc:date>
    </item>
  </channel>
</rss>

