<?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 Pivot Table move dimension to the header by macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179828#M46502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please provide how I can move dimension to the cells header by macro&lt;/P&gt;&lt;P&gt;Before&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1757_sourceID:1757" /&gt;&lt;/P&gt;&lt;P&gt;After&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1758_sourceID:1758" /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 07:41:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-08T07:41:24Z</dc:date>
    <item>
      <title>Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179828#M46502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please provide how I can move dimension to the cells header by macro&lt;/P&gt;&lt;P&gt;Before&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1757_sourceID:1757" /&gt;&lt;/P&gt;&lt;P&gt;After&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1758_sourceID:1758" /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 07:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179828#M46502</guid>
      <dc:creator />
      <dc:date>2010-06-08T07:41:24Z</dc:date>
    </item>
    <item>
      <title>Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179829#M46503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This procedure can help you:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub&lt;/STRONG&gt; Example&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Chart = ActiveDocument.GetSheetObject("CH234")&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Prop = Chart.GetProperties&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Prop.TableProperties.NumberOfLeftDimensions = 2&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart.SetProperties Prop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;end&lt;/B&gt; &lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt; By this procedure, the first two dimensions stay in the left side and the other ones go to the header. &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the objectID by your objectID, and change the number of left-dimensions according your requirements.&lt;/P&gt;&lt;P&gt;God bless you.&lt;/P&gt;&lt;P&gt;Percy&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 05:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179829#M46503</guid>
      <dc:creator>pgamarra</dc:creator>
      <dc:date>2010-06-16T05:30:51Z</dc:date>
    </item>
    <item>
      <title>Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179830#M46504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good example !!! it works .&lt;/P&gt;&lt;P&gt;One question here , how you get all these different properties alongwith description from ?&lt;/P&gt;&lt;P&gt;Bhushan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 06:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179830#M46504</guid>
      <dc:creator />
      <dc:date>2010-06-16T06:21:59Z</dc:date>
    </item>
    <item>
      <title>Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179831#M46505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found all information exploring the APIGuide.qvw aplication in the QlikView documentation directory (In my case:"C:\Program Files\QlikView\Documentacion") and looking for some threads in this forum.&lt;/P&gt;&lt;P&gt;God blessy you&lt;/P&gt;&lt;P&gt;Percy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 19:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179831#M46505</guid>
      <dc:creator>pgamarra</dc:creator>
      <dc:date>2010-06-21T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179832#M46506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to Qlikview and I have the same problem, but I don't know how to apply the procedure mentioned here.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 07:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179832#M46506</guid>
      <dc:creator />
      <dc:date>2010-09-06T07:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table move dimension to the header by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179833#M46507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same thing you suggested and I was able to moved the dimension to the header row. But, now I am having a hard time making those dimension values bold. I tried the following code (using the api.qvw). However, the funny thing is it works when my dimension is vertical and when I move it to the header row, only 3 cells get the bold format and the rest don't. Any ideas? Appreciate your input on this. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH05")&lt;/P&gt;&lt;P&gt;chart.AddDimension x&lt;/P&gt;&lt;P&gt;set gp2 = chart.GetProperties&lt;/P&gt;&lt;P&gt;set dims2 = gp2.Dimensions&lt;/P&gt;&lt;P&gt;set bce = dims2(dims2.Count-1).AttributeExpressions.TextFmtExp&lt;/P&gt;&lt;P&gt;bce.Definition.v = "'&amp;lt;b&amp;gt;'"&lt;/P&gt;&lt;P&gt;gp2.TableProperties.NumberOfLeftDimensions = dims2.Count-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 21:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-move-dimension-to-the-header-by-macro/m-p/179833#M46507</guid>
      <dc:creator />
      <dc:date>2012-10-04T21:49:18Z</dc:date>
    </item>
  </channel>
</rss>

