<?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: Access table property (suppress zero-values) from VB/JS script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807849#M1044049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Thank you so much Marcus!&lt;/P&gt;&lt;P&gt;In this way though I set the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;suppress zero-values option for all the dimensions and expressions in the chart. Is there a way to specify only a subset of dimension/expression I want the option t&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;o be enabled for&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2014 13:57:49 GMT</pubDate>
    <dc:creator>giacomom</dc:creator>
    <dc:date>2014-11-24T13:57:49Z</dc:date>
    <item>
      <title>Access table property (suppress zero-values) from VB/JS script</title>
      <link>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807847#M1044047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button that should enable/disable the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;suppress zero-values option in a table but I can't understand how to do it in a script. &lt;/SPAN&gt;I read in the documentation that from the macro interpreter the only reference available is the ActiveDocument property and all references must be made starting from that point, but after I access to the table by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1416828747144291" jivemacro_uid="_1416828747144291"&gt;
&lt;P&gt;set table = ActiveDocument.GetSheetObject("CH36")&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to proceed. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can you help me find the solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 11:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807847#M1044047</guid>
      <dc:creator>giacomom</dc:creator>
      <dc:date>2014-11-24T11:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Access table property (suppress zero-values) from VB/JS script</title>
      <link>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807848#M1044048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look on this example from the APIGuide.qvw. The important thing is to read the object-properties, change them and set the properties again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.Activesheet.CreatePivotTable&lt;/P&gt;&lt;P&gt;chart.AddDimension "ProductType"&lt;/P&gt;&lt;P&gt;chart.AddExpression "sum(Amount)"&lt;/P&gt;&lt;P&gt;chart.AddExpression "count(Customer)"&lt;/P&gt;&lt;P&gt;set cp = chart.GetProperties&lt;/P&gt;&lt;P&gt;cp.SuppressZero = false&lt;/P&gt;&lt;P&gt;chart.SetProperties cp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 12:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807848#M1044048</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-11-24T12:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Access table property (suppress zero-values) from VB/JS script</title>
      <link>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807849#M1044049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Thank you so much Marcus!&lt;/P&gt;&lt;P&gt;In this way though I set the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;suppress zero-values option for all the dimensions and expressions in the chart. Is there a way to specify only a subset of dimension/expression I want the option t&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;o be enabled for&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807849#M1044049</guid>
      <dc:creator>giacomom</dc:creator>
      <dc:date>2014-11-24T13:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Access table property (suppress zero-values) from VB/JS script</title>
      <link>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807850#M1044050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This option is global for each object. On dimension-level are options available to supress null in dimension-values or show all values. With this and in combination with dynamic dimensions (need a lot of performance) and set analysis expressions you could reach maybe a more flexible solution. But it's difficult and need some trial and error - if it's more nice to have and not a must you should it leave so simply as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 15:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-table-property-suppress-zero-values-from-VB-JS-script/m-p/807850#M1044050</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-11-24T15:43:26Z</dc:date>
    </item>
  </channel>
</rss>

