<?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: Conditional hide column in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922839#M528915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks a lot for your quick response, As suggested I copied the code given and pasted with the sheet id and chart id and column number as suggested, But it is failing when I try to check the code My sheet id is SH04 and chartID is CH06 and column number is 11 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Squeeze&lt;/P&gt;&lt;P&gt;call HideColumn("CH06", 11)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;private sub HideColumn(SH04,11) &lt;/P&gt;&lt;P&gt;set ch = ActiveDocument.GetSheetObject(ch)&lt;/P&gt;&lt;P&gt;ch.SetPixWidth (n-1), 0&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please correct me where am going wrong &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 14:03:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-13T14:03:59Z</dc:date>
    <item>
      <title>Conditional hide column in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922837#M528913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a financial dashboard where in it has Group Name, Account,Actual ,Budget ,variance column for Period Year to Date and Full year respectively, Now as the data is not available still for Full year I want to Hide Actual Column for Full Year, When am trying to hide Actual by writing false() or 0 in Condition expression it is hiding the entire Actual column ie also for Period &amp;amp; Year to Date, I just want to Hide Actual Column for Full Year, Is this possible, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched on line for this and found some macro to hide the column by adjusting width to 0 but couldn't able to understand where to put that code or how to use, Can any one please help me in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922837#M528913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-13T13:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide column in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922838#M528914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Use the below code in the macros window&lt;/P&gt;&lt;P&gt;sub Squeeze&lt;/P&gt;&lt;P&gt; call HideColumn("CH01", 2)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;private sub HideColumn(ch, n)&lt;/P&gt;&lt;P&gt; set ch = ActiveDocument.GetSheetObject(ch)&lt;/P&gt;&lt;P&gt; ch.SetPixWidth (n-1), 0&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto Tools in the Menu bar-&amp;gt; Select Edit Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then paste the above code in the window. Give your sheet ID at Hide column as well as column no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922838#M528914</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-08-13T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide column in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922839#M528915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks a lot for your quick response, As suggested I copied the code given and pasted with the sheet id and chart id and column number as suggested, But it is failing when I try to check the code My sheet id is SH04 and chartID is CH06 and column number is 11 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Squeeze&lt;/P&gt;&lt;P&gt;call HideColumn("CH06", 11)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;private sub HideColumn(SH04,11) &lt;/P&gt;&lt;P&gt;set ch = ActiveDocument.GetSheetObject(ch)&lt;/P&gt;&lt;P&gt;ch.SetPixWidth (n-1), 0&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please correct me where am going wrong &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922839#M528915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-13T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide column in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922840#M528916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And when I click on Test underneath the GoTo button it says Object required: 'ch' and highlights ch.SetPixwidth (n-1),0&lt;/P&gt;&lt;P&gt;This happens when I paste this code&lt;/P&gt;&lt;P&gt;sub Squeeze&lt;/P&gt;&lt;P&gt;call HideColumn("SH04", 11)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;private sub HideColumn(CH06,N) &lt;/P&gt;&lt;P&gt;set ch = ActiveDocument.GetSheetObject(ch)&lt;/P&gt;&lt;P&gt;ch.SetPixWidth (n-1), 0&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922840#M528916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-13T14:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide column in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922841#M528917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you reverse this macro? I.e. how do you unhide the column you just hid?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 22:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-column-in-Pivot-table/m-p/922841#M528917</guid>
      <dc:creator />
      <dc:date>2015-08-18T22:08:02Z</dc:date>
    </item>
  </channel>
</rss>

