<?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 Using calculated dimension that uses a variable to determine one of the columns required in a pivot report.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149373#M27571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a thought: May be when you click on clear it clears the value in the variable also and you end up having a chart without a dimension which I guess is not possible to have and leading to the runtime error.&lt;/P&gt;&lt;P&gt;-Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 20:56:23 GMT</pubDate>
    <dc:creator>amit_shetty78</dc:creator>
    <dc:date>2009-07-15T20:56:23Z</dc:date>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149370#M27568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am facing a peculiar problem when using a calculated dimension in a pivot report. (&lt;EM&gt;on QV version 8.5 and&lt;/EM&gt; 9.0)&lt;/P&gt;&lt;P&gt;I am making use of a variable that would determine what dimension field the report should use. e.g. &lt;EM&gt;=$(vDimLevel)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Everything works well, the report gets populated with the required dimension values, &lt;STRONG&gt;untill&lt;/STRONG&gt; I click on the "CLEAR" button. I get a runtime error and I have to close the program.&lt;/P&gt;&lt;P&gt;When I add the same dimension explicitly, there is no problem with the data or its refresh.&lt;/P&gt;&lt;P&gt;Suggestions/ help is most appreciated and also required urgently &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149370#M27568</guid>
      <dc:creator />
      <dc:date>2009-07-15T20:31:40Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149371#M27569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I d'ont understand what you're trying to do, the user have to write the name of the dimension he wants ?&lt;/P&gt;&lt;P&gt;Why not using a Group with different possible dimension to choose the dimension ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149371#M27569</guid>
      <dc:creator />
      <dc:date>2009-07-15T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149372#M27570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;=[$(vDimLevel)]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149372#M27570</guid>
      <dc:creator />
      <dc:date>2009-07-15T20:50:29Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149373#M27571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a thought: May be when you click on clear it clears the value in the variable also and you end up having a chart without a dimension which I guess is not possible to have and leading to the runtime error.&lt;/P&gt;&lt;P&gt;-Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149373#M27571</guid>
      <dc:creator>amit_shetty78</dc:creator>
      <dc:date>2009-07-15T20:56:23Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149374#M27572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks folks for responding so quickly!!&lt;/P&gt;&lt;P&gt;Amit, you hit the nail on the head!!&lt;/P&gt;&lt;P&gt;Ofcourse the variable was pointing to a selected data field, and it would have no value when selections were cleared up.&lt;/P&gt;&lt;P&gt;BUT now I am struggling to get the condition working for the calculated dimension. I am trying to use another field to be used when "the" variable gets cleared up. The expression looks like,&lt;/P&gt;&lt;P&gt;=if(len('$(vDimLevel)')&amp;gt;0,$(vDimLevel),[Corporate]) &lt;EM&gt;when I use the field name itself&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(len('$(vDimLevel)')&amp;gt;0,$(vDimLevel),$(vCorporate)) &lt;EM&gt;when I use another variable which always points to field "Corporate" similar to $(vDimLevel)&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;NEITHER SEEMS TO BE WORKING!!&lt;/P&gt;&lt;P&gt;Any ideas on this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 21:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149374#M27572</guid>
      <dc:creator />
      <dc:date>2009-07-15T21:37:22Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149375#M27573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should have added. The $(vDimLevel) works but the [Corporate] / $(vCorporate) piece does not....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 21:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149375#M27573</guid>
      <dc:creator />
      <dc:date>2009-07-15T21:39:43Z</dc:date>
    </item>
    <item>
      <title>Using calculated dimension that uses a variable to determine one of the columns required in a pivot report..</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149376#M27574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll ask a question that was asked previously...&lt;/P&gt;&lt;P&gt;Why can't you create a dimension group (either cyclic or drill-down) to be able to choose different dimensions? (Dimensions tab, Edit Groups button)&lt;/P&gt;&lt;P&gt;What you're explaining seems like a perfect place for a cyclic group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sjprows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 02:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimension-that-uses-a-variable-to-determine-one/m-p/149376#M27574</guid>
      <dc:creator />
      <dc:date>2009-07-24T02:18:42Z</dc:date>
    </item>
  </channel>
</rss>

