<?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 How to reference a column with a calculated column name? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218484#M71594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Talha, I know how to use a variable in my expressions, this is not the problem.&lt;/P&gt;&lt;P&gt;What I want to know is, how do I reference another column in my expression if that column has a calculated label?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Oct 2009 00:04:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-17T00:04:13Z</dc:date>
    <item>
      <title>How to reference a column with a calculated column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218482#M71592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow Qlikview users,&lt;/P&gt;&lt;P&gt;In a report I am developing I would like to reference a column in an expression but this column has a calculated column label.&lt;/P&gt;&lt;P&gt;Can anybody tell me how to do this?&lt;/P&gt;&lt;P&gt;Detailed situation:&lt;/P&gt;&lt;P&gt;A report with 1 variable, v_cur_year which is set to 2009.&lt;/P&gt;&lt;P&gt;I have a table which has a dimension of product.&lt;BR /&gt;This table has a couple of expressions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Label: = S2007&lt;BR /&gt;Expression: = If( [subscription_year] = v_cur_year-2, 1)&lt;/LI&gt;&lt;LI&gt;Label: = S2008&lt;BR /&gt;Expression: = If( [subscription_year] = v_cur_year-1, 1)&lt;/LI&gt;&lt;LI&gt;Label: Growth Last Year&lt;BR /&gt;Expression: = [S2007] / [S2008]&lt;/LI&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now what I want to do is to calculate the labels of the first two expressions by using my v_cur_year and subtracting 2 or 1. But how do I reference these columns in my [Growth Last Year] expression?&lt;/P&gt;&lt;P&gt;Hope that this explains my situation clearly and that the community can offer me some help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike van der Niet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 23:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218482#M71592</guid>
      <dc:creator />
      <dc:date>2009-10-16T23:34:26Z</dc:date>
    </item>
    <item>
      <title>How to reference a column with a calculated column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218483#M71593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike try to take you variable v_cur_year in the expression using&lt;/P&gt;&lt;P&gt;$(v_cur_year) and it should work for Ex&lt;/P&gt;&lt;P&gt;[Gross Value Year] - $(v_cur_year)&lt;/P&gt;&lt;P&gt;If did not work then try to upload one dummy scenario&lt;/P&gt;&lt;P&gt;Talha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 23:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218483#M71593</guid>
      <dc:creator />
      <dc:date>2009-10-16T23:59:52Z</dc:date>
    </item>
    <item>
      <title>How to reference a column with a calculated column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218484#M71594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Talha, I know how to use a variable in my expressions, this is not the problem.&lt;/P&gt;&lt;P&gt;What I want to know is, how do I reference another column in my expression if that column has a calculated label?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2009 00:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218484#M71594</guid>
      <dc:creator />
      <dc:date>2009-10-17T00:04:13Z</dc:date>
    </item>
    <item>
      <title>How to reference a column with a calculated column name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218485#M71595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, maybe you can resolve that changing Growth Last Year = column(1) / column(2) instead the labels?&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2009 00:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-reference-a-column-with-a-calculated-column-name/m-p/218485#M71595</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-10-17T00:34:50Z</dc:date>
    </item>
  </channel>
</rss>

