<?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: Get the dimension fields visible in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1674808#M449681</link>
    <description>&lt;P&gt;I think I wouldn't try it with a macro else counting/summing the conditional expressions. Assuming that each conditional expression returned 0 or 1 you could use: rangesum(cond1, cond2, ...) to get the number of active dimensions.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 13:06:38 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2020-02-12T13:06:38Z</dc:date>
    <item>
      <title>Get the dimension fields visible in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1674537#M449642</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi community, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have to determine through a macro vb the number of dimensions visible in a pivot table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;SPAN&gt;he dimensions are dynamically shown / hidden through conditional expressions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I get the current number of dimensions visible in the table? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately GetProperties.Dimensions.Count returns all the dimensions , not only the visible ones.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Fineas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1674537#M449642</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2024-11-16T19:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get the dimension fields visible in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1674808#M449681</link>
      <description>&lt;P&gt;I think I wouldn't try it with a macro else counting/summing the conditional expressions. Assuming that each conditional expression returned 0 or 1 you could use: rangesum(cond1, cond2, ...) to get the number of active dimensions.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1674808#M449681</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-02-12T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get the dimension fields visible in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1675405#M449729</link>
      <description>&lt;P&gt;Tks for your message. it's a good idea.&lt;/P&gt;&lt;P&gt;Unfortunately, My expression condition return 0 or -1 values (0 enable / -1&amp;nbsp; disable).&lt;/P&gt;&lt;P&gt;I have found a different solution with a macro.&lt;/P&gt;&lt;P&gt;Following an summary:&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("ObjectID")&lt;/P&gt;&lt;P&gt;set cp = chart.GetProperties&lt;/P&gt;&lt;P&gt;set dims = cp.Dimensions&lt;/P&gt;&lt;P&gt;the instruction condExp = dims(t).EnableCondition.Expression&amp;nbsp;&amp;nbsp; return the t-th expression condition .&lt;/P&gt;&lt;P&gt;then for each pivot dimension fields I can evaluate the expression condition.&lt;/P&gt;&lt;P&gt;if the condiction is equal to 0 then the dimension fields is visible and a counter can be incremented.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 15:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-dimension-fields-visible-in-a-pivot-table/m-p/1675405#M449729</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2020-02-13T15:32:22Z</dc:date>
    </item>
  </channel>
</rss>

