<?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: Automatic Button in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822988#M2952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban, it this was the correct solution, can you please marked the post as answered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 09:01:00 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2015-03-04T09:01:00Z</dc:date>
    <item>
      <title>Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822985#M2949</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;Does anyone know how can I do something automatic in qlikview? It is that&lt;/P&gt;&lt;P&gt;In pivot table, you know there are dimensions hided in + and we expand it all to be able to see each dimension further. My question is is there a way to do it automatically expanded in a simple button instead of doing it manually? Maybe in macro or similar...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kezban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 15:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822985#M2949</guid>
      <dc:creator />
      <dc:date>2015-03-03T15:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822986#M2950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/102959"&gt;http://community.qlik.com/thread/102959&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 15:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822986#M2950</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-03T15:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822987#M2951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very thankful and grateful for your prompt response. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kezban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 07:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822987#M2951</guid>
      <dc:creator />
      <dc:date>2015-03-04T07:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822988#M2952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban, it this was the correct solution, can you please marked the post as answered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 09:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822988#M2952</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-04T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822989#M2953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thankful for the code I have received about pivot expanding and collapsing macro. However , I want to make it run when i qlik on to button to expand and for another button when i qlick it to collapse. Qlikview does not understand it or maybe I dont know how to do it. Do you have any advice for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 15:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822989#M2953</guid>
      <dc:creator />
      <dc:date>2015-03-05T15:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822990#M2954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is another neat why of doing it without macros, see the pivot charts on the "Conditional(Dynamic) Columns" sheet of the attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 16:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822990#M2954</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-05T16:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822991#M2955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am more than grateful for your response with very helpful tutorial. It works perfect in my project now. It expands all and collapse all. That is perfect. &lt;STRONG style="text-decoration: underline;"&gt;However,&lt;/STRONG&gt; the only thing I wanna do that when I qlik the button to collapse, the pluses ( + ) dissepear. I really want them to stay and just expand and collapsed. Now they dissepear and I lose my will to select if I dont wanna use the button. There might be other way like running macro but I may not know some details to work like with + s. In this project I got, would be nice if I would be able to work it well and could still see pluses.&lt;/P&gt;&lt;P&gt;Would you have any advice for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Feeling lucky to have that professional environment in here as I'm kinda newbie for qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kezban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822991#M2955</guid>
      <dc:creator />
      <dc:date>2015-03-06T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822992#M2956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know that if you right click on a Pivot table, you have the option to 'Expand All' / 'Collapse All', by default?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822992#M2956</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-06T09:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822993#M2957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do know it. But our customer doesnt want to do that. The reason I want it quick and automatic by using button or qlik. The customer should be able to also see the plusses. But they dissepear. (I mean I work the section in the qw file u sent is "Conditional (dynamic) Columns" last section of pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822993#M2957</guid>
      <dc:creator />
      <dc:date>2015-03-06T09:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822994#M2958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a better macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExpandChart&lt;BR /&gt; 'This macro fully expands the selected pivot table.&lt;BR /&gt;&amp;nbsp; On Error Resume Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set vChartToExpand = ActiveDocument.Variables("vChartToExpand")&lt;BR /&gt;&amp;nbsp; Set chart = ActiveDocument.GetSheetObject(vChartToExpand.GetContent.String)&lt;BR /&gt;&amp;nbsp; Set gp = chart.GetProperties&lt;BR /&gt;&amp;nbsp; gp.TableProperties.PivotAlwaysFullyExpanded = TRUE 'not gp.TableProperties.PivotAlwaysFullyExpanded&lt;BR /&gt;&amp;nbsp; chart.SetProperties gp&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sub CollapseChart&lt;BR /&gt; 'This macro allowse collapsing of the selected pivot table.&lt;BR /&gt;&amp;nbsp; On Error Resume Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set vChartToExpand = ActiveDocument.Variables("vChartToExpand")&lt;BR /&gt;&amp;nbsp; Set chart = ActiveDocument.GetSheetObject(vChartToExpand.GetContent.String)&lt;BR /&gt;&amp;nbsp; Set gp = chart.GetProperties&lt;BR /&gt;&amp;nbsp; gp.TableProperties.PivotAlwaysFullyExpanded = FALSE 'not gp.TableProperties.PivotAlwaysFullyExpanded&lt;BR /&gt;&amp;nbsp; chart.SetProperties gp&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a variable vChartToExpand that contains the chart ID and 2 buttons, one for expand and one for collapse, you will see the +/- when the chart is Collapsed, but NOT when its fully expanded, there's no way round this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822994#M2958</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-06T09:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822995#M2959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just would like to sum it up&amp;nbsp; below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 sub expand and sub collapse macros. So I will write them down in a action inside the button with run macro section. Right? I hope that should be enough. Becuse ,it works all together it doesnt understand when collpase when to expand. I have good knowledge of excel macros but not the same in qlikview. Then I have doubts on variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vChartToExpand &lt;/STRONG&gt;: what should i type inside in expression of this variable? You said chart ID 2 buttons. The only thing I am stuck on now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kezban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 11:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822995#M2959</guid>
      <dc:creator />
      <dc:date>2015-03-06T11:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822996#M2960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Kezban, I a created an example QVW as described above &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 11:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822996#M2960</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-06T11:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Button</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822997#M2961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you a lot for your prompt very helpful responses. I am more than grateful as It helped a lot for my job through the customer. I am like 1 month in qlikview getting into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kezban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 14:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Automatic-Button/m-p/822997#M2961</guid>
      <dc:creator />
      <dc:date>2015-03-06T14:16:41Z</dc:date>
    </item>
  </channel>
</rss>

