<?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: Calculated Dimension Reference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438004#M163281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any suggestions when the calculated dimension is AGGR and doesn't work the same way as an expression (as above) but when a value list is not suitable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an example QVW showing a problem I'm working on.&amp;nbsp; Please read the notes in the text boxes to see what my problem is and what I've tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a 'data availability check' type of thing, which is used by other expressions to give warnings.&amp;nbsp; I tried to put the check as an expression but it doesn't work as it needs to ignore one of the dimensions (my set analysis here doesn't work as expected with &amp;lt;FieldToIgnore=&amp;gt; because I think it's in the dimension).&amp;nbsp; But then when it's a calculated dimension instead with aggr, I can't refer to it in the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that putting the check field or something in the script would be recommended but my data model is a lot more complicated than what I've put in this example (sorry I can't share the real example for privacy reasons) and I'd really like to achieve it in the front end if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2016 14:57:23 GMT</pubDate>
    <dc:creator>sarahallen1</dc:creator>
    <dc:date>2016-06-28T14:57:23Z</dc:date>
    <item>
      <title>Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/437999#M163276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a table with 3 columns where the first is a calculated dimension, the second is an expressio (count related to dimension) and the third I need to test the values related to the dimension - column A ('Sinal') - and show different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26875" class="jive-image" alt="tabel QV.png" src="/legacyfs/online/26875_tabel QV.png" /&gt;&lt;/P&gt;&lt;P&gt;for example : if Sinal (dimension calculated) = ' Crítico'&amp;nbsp; then Comments (expression) should be 'abc',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Sinal = 'Regular' then Comments should be 'xyz'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how&amp;nbsp; make reference to the column A ('Sinal'). I've already tried column () function, but it returns only columns related to expression, it means (columns B (Quantidade) and C (Comments).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e: if (column(1) = 'Critico', 'abc', 'xwz') - Doesn't work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 11:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/437999#M163276</guid>
      <dc:creator />
      <dc:date>2012-12-14T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438000#M163277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What expression did you use to generate the calculated dimension ? Should be able to add as an expression as well.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 12:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438000#M163277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-14T12:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438001#M163278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;STRONG&gt; Expression in the dmension :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if(&lt;/P&gt;&lt;P&gt;aggr(sum (Qtde) /&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ({$&amp;lt;Ano_Mes = {$(=Max(Ano)&amp;amp;num(Max(Mes),'00') )} &amp;gt;}[Expectativa Vendas])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; num(MaxString([Mês Filtro]))), PartNumber) &amp;lt;=Var_Cor_Penetracao_Amarelo,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;dual('Crítico',1)&amp;nbsp; , &lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; if(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; aggr(sum (Qtde) /&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ({$&amp;lt;Ano_Mes = {$(=Max(Ano)&amp;amp;num(Max(Mes),'00') )} &amp;gt;}[Expectativa Vendas])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; num(MaxString([Mês Filtro]))), PartNumber) &amp;lt;=Var_Cor_Penetracao_Laranja ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;dual('Regular',2),&lt;BR /&gt; &lt;BR /&gt; if(&lt;BR /&gt;aggr(sum (Qtde) /&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ({$&amp;lt;Ano_Mes = {$(=Max(Ano)&amp;amp;num(Max(Mes),'00') )} &amp;gt;}[Expectativa Vendas])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; num(MaxString([Mês Filtro]))), PartNumber) &amp;lt;=Var_Cor_Penetracao_Marinho,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; dual('Bom',3),&lt;BR /&gt; if(&lt;BR /&gt;aggr(sum (Qtde) /&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ({$&amp;lt;Ano_Mes = {$(=Max(Ano)&amp;amp;num(Max(Mes),'00') )} &amp;gt;}[Expectativa Vendas])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; num(MaxString([Mês Filtro]))), PartNumber) &amp;lt;=Var_Cor_Penetracao_Verde, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;dual('Muito Bom',4),&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; if(aggr(sum (Qtde) /&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ({$&amp;lt;Ano_Mes = {$(=Max(Ano)&amp;amp;num(Max(Mes),'00') )} &amp;gt;}[Expectativa Vendas])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; num(MaxString([Mês Filtro]))), PartNumber)&amp;gt;Var_Cor_Penetracao_Verde, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;dual('Excelente',5)&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 12:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438001#M163278</guid>
      <dc:creator />
      <dc:date>2012-12-14T12:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438002#M163279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouch, that's a pretty heavy expression to have in a calulated dimension. I'd be surprised if this didn't impact on performance. Either way, this may be too complicated to extract in an expression.&lt;/P&gt;&lt;P&gt;Have a look in the reference manual for 'Synthetic Dimension Functions', section 68.5 on page 809 in v11's manual. You may be able to use the valuelist() function.&lt;/P&gt;&lt;P&gt;"In charts with a synthetic dimension created with the valuelist function it is possible to reference the dimension value corresponding to a specific expression cell by restating the valuelist function with the same parameters in the chart expression"&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 12:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438002#M163279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-14T12:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438003#M163280</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;Within the script, insert a calculated field&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (Sinal = 'Critical', 'abc', 'XWZ') as Comments,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thereby generate a new field and the calculated value, which should work as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 19:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438003#M163280</guid>
      <dc:creator>montero91</dc:creator>
      <dc:date>2012-12-14T19:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438004#M163281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any suggestions when the calculated dimension is AGGR and doesn't work the same way as an expression (as above) but when a value list is not suitable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an example QVW showing a problem I'm working on.&amp;nbsp; Please read the notes in the text boxes to see what my problem is and what I've tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a 'data availability check' type of thing, which is used by other expressions to give warnings.&amp;nbsp; I tried to put the check as an expression but it doesn't work as it needs to ignore one of the dimensions (my set analysis here doesn't work as expected with &amp;lt;FieldToIgnore=&amp;gt; because I think it's in the dimension).&amp;nbsp; But then when it's a calculated dimension instead with aggr, I can't refer to it in the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that putting the check field or something in the script would be recommended but my data model is a lot more complicated than what I've put in this example (sorry I can't share the real example for privacy reasons) and I'd really like to achieve it in the front end if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438004#M163281</guid>
      <dc:creator>sarahallen1</dc:creator>
      <dc:date>2016-06-28T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438005#M163282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ has answered my question here (the solution was not to use a calculated dimension so it might not help Gutemberg out, but it helped me!) &lt;A _jive_internal="true" href="https://community.qlik.com/message/1072137?et=watches.email.thread#1072137" title="https://community.qlik.com/message/1072137?et=watches.email.thread#1072137"&gt;https://community.qlik.com/message/1072137?et=watches.email.thread#1072137&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 15:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-Reference/m-p/438005#M163282</guid>
      <dc:creator>sarahallen1</dc:creator>
      <dc:date>2016-06-28T15:30:19Z</dc:date>
    </item>
  </channel>
</rss>

