<?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 Enable Conditional - Refer to the dimension name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Enable-Conditional-Refer-to-the-dimension-name/m-p/372106#M138364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping someone might be able to help me out with a problem that I'm trying to solve.&amp;nbsp; I have a dynamic chart, which allows the user to select the dimensions they want to see in the report.&amp;nbsp; I have added all the possible fields into the dimensions, and placed a condition on each one.&amp;nbsp; For example, for dimension "Region" the condition is '=SubStringCount(Concat(_dimension_listing, '|'), 'Region')' and for 'Country' the condition is&amp;nbsp; '=SubStringCount(Concat(_dimension_listing, '|'), 'Country')'.&amp;nbsp; We create these types of reports often, and the possible dimensions change from project to project.&amp;nbsp; Currently, we have to manually update the condition changing the value from 'Country' to 'Region' or any other dimension that is added.&amp;nbsp; Is there a way to refer to the dimension name within the conditional statement so that we would not need to hard code the 'Country' or 'Region' value?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In essense what I'm looking for is a formula that would be similiar to .....=SubStringCount(Concat(_dimension_listing,'|'), &lt;EM&gt;&lt;STRONG style="text-decoration: underline;"&gt;GET_DIMENSION_NAME&lt;/STRONG&gt;&lt;/EM&gt;), which could then be added to any dimension that was placed in the chart; as long as it appeared in the _dimension_listing as well.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 15:13:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-27T15:13:59Z</dc:date>
    <item>
      <title>Enable Conditional - Refer to the dimension name</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Conditional-Refer-to-the-dimension-name/m-p/372106#M138364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping someone might be able to help me out with a problem that I'm trying to solve.&amp;nbsp; I have a dynamic chart, which allows the user to select the dimensions they want to see in the report.&amp;nbsp; I have added all the possible fields into the dimensions, and placed a condition on each one.&amp;nbsp; For example, for dimension "Region" the condition is '=SubStringCount(Concat(_dimension_listing, '|'), 'Region')' and for 'Country' the condition is&amp;nbsp; '=SubStringCount(Concat(_dimension_listing, '|'), 'Country')'.&amp;nbsp; We create these types of reports often, and the possible dimensions change from project to project.&amp;nbsp; Currently, we have to manually update the condition changing the value from 'Country' to 'Region' or any other dimension that is added.&amp;nbsp; Is there a way to refer to the dimension name within the conditional statement so that we would not need to hard code the 'Country' or 'Region' value?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In essense what I'm looking for is a formula that would be similiar to .....=SubStringCount(Concat(_dimension_listing,'|'), &lt;EM&gt;&lt;STRONG style="text-decoration: underline;"&gt;GET_DIMENSION_NAME&lt;/STRONG&gt;&lt;/EM&gt;), which could then be added to any dimension that was placed in the chart; as long as it appeared in the _dimension_listing as well.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 15:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Conditional-Refer-to-the-dimension-name/m-p/372106#M138364</guid>
      <dc:creator />
      <dc:date>2012-03-27T15:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Conditional - Refer to the dimension name</title>
      <link>https://community.qlik.com/t5/QlikView/Enable-Conditional-Refer-to-the-dimension-name/m-p/372107#M138365</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;a possible solution or alternative is to create the dimension name upon user selection or any other selection. Therefore, no&lt;BR /&gt;&amp;lt;getDymensionName()&amp;gt; function will be needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Put all possible dimensions and their combinations into a list box: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Office", "Salesman", "Office, Salesman", "Salesman, Office") etc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2.) Select 1 value in the listbox.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3.) In a Pivot, create dynamic dimensions such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(=(SubField(GetFieldSelections(DIMENSION),',',1))) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(=(SubField(GetFieldSelections(DIMENSION),',',2))) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(=(SubField(GetFieldSelections(DIMENSION),',',n))) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.) Set the dynamic dimensions to conditional with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =len(Subfield(GetFieldSelections(DIMENSION),',',1))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =len(Subfield(GetFieldSelections(DIMENSION),',',n))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enable-Conditional-Refer-to-the-dimension-name/m-p/372107#M138365</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2013-06-19T14:45:38Z</dc:date>
    </item>
  </channel>
</rss>

