<?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: Show/hide partial sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243578#M394644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 21:52:25 GMT</pubDate>
    <dc:creator>posywang</dc:creator>
    <dc:date>2017-01-26T21:52:25Z</dc:date>
    <item>
      <title>Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243570#M394636</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;We got a user request to allow users to show/hide partial sum on particular dimension they select. I created duplicate dimensions in pivot table and assigned conditional by using a variable to show/hide dimension with or without partial sum enabled. However, I still haven't figured out a smart way to let user show/hide dimension on particular dimension they select. I don't want to create many show/hide buttons to control each dimension. Sample QVW is attached. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243570#M394636</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243571#M394637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So where do you plan to pick the dimensions for which you want to show or hide subtotals?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243571#M394637</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T18:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243572#M394638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if we can create a second list box (doesn't have to be) for user to select the dimension? I don't know. Feel free to design anything that works. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243572#M394638</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T18:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243573#M394639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached is good for you.... The second list box (which is in an alternate state) will only show up when you select Show Subtotal and then you can decide which dimensions you want to show subtotal on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243573#M394639</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T19:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243574#M394640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response. The attached doesn't seem to work... Show/hide button only show/hide the new list box. Both duplicate dimensions were displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243574#M394640</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T21:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243575#M394641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QlikView 11.2 SR7 or before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243575#M394641</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T21:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243576#M394642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version 11.20.12451.0 SR7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243576#M394642</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T21:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243577#M394643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is why it did not work.... can you rerun the application for me with another field which is exact copy of _dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD _dimension as _dimension2, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _dimensionPosition as _dimensionPosition2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Dimension;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243577#M394643</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243578#M394644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243578#M394644</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T21:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243579#M394645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this one works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 21:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243579#M394645</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T21:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243580#M394646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is awesome! I removed vShow from script since we really don't need it. Can you please let me know what is the logic behind the expression below? Trying to understand your script so I can leverage the same technique in the future. Many thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubStringCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '|,|', 1000) &amp;amp; '|', &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Chr(39) &amp;amp;'|' &amp;amp; FirstSortedValue(_dimension,_dimensionPosition,1) &amp;amp; '|' &amp;amp; Chr(39))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 22:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243580#M394646</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-01-26T22:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243581#M394647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Short answer is that it is checking if you have selected one of the _dimensions2 which is also selected in _dimension. For more details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am collecting all selections in _dimension2 using GetFieldSelections. The pipes are just there to make it Robust, because at times you may have a selection which is a subset of another selection. For example if you have Category and SubCategory, things get bad if you don't use the pipes. To see what the difference is, try two text boxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) =&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;_dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '|,|', 1000) &amp;amp; '|'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) =&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;_dimension2, ',', 1000&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next part is just using the dimension from your _dimension pick and checking if any of those are also selected in _dimension2 using SubStringCount. When selected, the output equals 1, when not selected, output equals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 22:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/1243581#M394647</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-26T22:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide partial sum</title>
      <link>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/2465657#M1225860</link>
      <description>&lt;P&gt;there is no condition for s&lt;SPAN&gt;how/hide partial sum, but you can emulate it&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;take a copy of table/chart and don't set show partial sum&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;set the both&amp;nbsp;table/chart at the same left/top&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in the one, with&amp;nbsp;partial sum, you set a condition for show (chart-&amp;gt;layout::show conditional)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in the other, without partial sum, you set a condition for show, too&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;e.g. i have a pivot-table for 2 years, with sum and difference (use SecondaryDimensionality)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if(SecondaryDimensionality()=0, thisYearSum - prevYearSum, sum)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;pivot-table with difference to show, has a conditional show =&amp;nbsp;&lt;/SPAN&gt;not(GetSelectedCount(Jahr)=1)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;pivot-table without difference to show, has a conditional show =&amp;nbsp;&lt;/SPAN&gt;(GetSelectedCount(Jahr)=1)&lt;/P&gt;
&lt;P&gt;if both years are display, i get a values with difference, otherwise only values of year will be showed.&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 10:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-hide-partial-sum/m-p/2465657#M1225860</guid>
      <dc:creator>chtat61</dc:creator>
      <dc:date>2024-06-26T10:06:25Z</dc:date>
    </item>
  </channel>
</rss>

