<?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: expand only one field value in a pivot table (on open action) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156276#M631724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the good hint but I'm afraid that it cannot be utilized here because each day a new date value comes and this one should be expanded while other should be collapsed. The use of the bookmarks poses two problems here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I wold have to create a table of dates in advance and for each of them I would have to create a bookmark&lt;/P&gt;&lt;P&gt;2. This is to be a long lasting project so it would have to be a long list of bookmarks [If i were to set up a bookmark via code i'd still need to know how to set the expand/collapse state that i require]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I misunderstood your idea please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 08:52:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-28T08:52:48Z</dc:date>
    <item>
      <title>expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156273#M631721</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'm reloading a dashboard daily. The Date is the primary dimension in a pivot table. I'd like to write a macro which would be run on open which would firstly collapse all [this is easy "TableProperties.PivotAlwaysFullyExpanded = False"] but then I'd like to expand the max(Date). I'm looking in "API Guide version 11" but i cannot find the property that is responsible for the field/cell being collapsed or expanded, could anyone help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 10:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156273#M631721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T10:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156274#M631722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Czesc Andrzej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would approach it with the use of bookmarks. Create bookmarks with all states of collapse / expand you need.&lt;/P&gt;&lt;P&gt;(You would need to utilise "Include Layout State" option of bookmark)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in macro just set a proper bookmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching sample app, which utilises buttons, but you can easily add macros:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14696485260365865" jivemacro_uid="_14696485260365865"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ActiveDocument.RecallDocBookmark "MyBookmark"&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 19:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156274#M631722</guid>
      <dc:creator />
      <dc:date>2016-07-27T19:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156275#M631723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Document Property -&amp;gt; Trigger&lt;/P&gt;&lt;P&gt;On Open Document&lt;/P&gt;&lt;P&gt;Select in Field&lt;/P&gt;&lt;P&gt;Field : Date&lt;/P&gt;&lt;P&gt;Value : =Max({1} Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156275#M631723</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-07-27T20:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156276#M631724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the good hint but I'm afraid that it cannot be utilized here because each day a new date value comes and this one should be expanded while other should be collapsed. The use of the bookmarks poses two problems here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I wold have to create a table of dates in advance and for each of them I would have to create a bookmark&lt;/P&gt;&lt;P&gt;2. This is to be a long lasting project so it would have to be a long list of bookmarks [If i were to set up a bookmark via code i'd still need to know how to set the expand/collapse state that i require]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I misunderstood your idea please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 08:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156276#M631724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156277#M631725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrzej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, somehow I missed the most important information, that you want to always exapnd a &lt;STRONG&gt;cell&lt;/STRONG&gt; not a whole column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge you can only collapse all / expand all via macro, not specific columns in a table, so this is not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about just adding additional fully expanded pivot table, showing information only for max(date)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2016 18:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156277#M631725</guid>
      <dc:creator />
      <dc:date>2016-07-30T18:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156278#M631726</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;it's a good suggestions. If there won't be any reply regarding the cell property i think I'll go with this one. Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1156278#M631726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-04T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: expand only one field value in a pivot table (on open action)</title>
      <link>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1836479#M1214939</link>
      <description>&lt;P&gt;sorry to revive this thread but I have the same exact question.&amp;nbsp; I will restate here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say we have two dimensions in a pivot table and an expression.&amp;nbsp; The fields are Report Period and Date.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I want this to work is For all report periods that are not the current report period, then collapse Report Period.&lt;/P&gt;&lt;P&gt;For the current report period,&amp;nbsp; expand that Report Period to show the specific dates .&amp;nbsp; &amp;nbsp;see example data below&lt;/P&gt;&lt;P&gt;BTW,&amp;nbsp; I need this work programmatically since this qvw is used for a daily nprinting report&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind of annoying to go into it each 1st of the month and collapse old month and expand new month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan-2021 +&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;Feb-2021 +&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&lt;/P&gt;&lt;P&gt;Mar-2021&amp;nbsp; &amp;nbsp; 3/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/2/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; etc....&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 19:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expand-only-one-field-value-in-a-pivot-table-on-open-action/m-p/1836479#M1214939</guid>
      <dc:creator>rodneybarrett</dc:creator>
      <dc:date>2021-09-15T19:52:42Z</dc:date>
    </item>
  </channel>
</rss>

