<?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: Using a variable for calculated dimension. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588669#M1120524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe some combinations does not return values.&lt;/P&gt;&lt;P&gt;Please add a fixed "1" as expression and check if all rows are listed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 15:29:39 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2014-01-30T15:29:39Z</dc:date>
    <item>
      <title>Using a variable for calculated dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588666#M1120521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a variable having multiple values for a calculated dimension in a straight table, but it is showing only one value in the straight table.&lt;BR /&gt;variable definition= if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Resume Title]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4)=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Requirement Title]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HotListDisplayName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I get multiple names for this condition but it is showing only one value. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 14:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588666#M1120521</guid>
      <dc:creator />
      <dc:date>2014-01-30T14:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable for calculated dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588667#M1120522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems to me the problem is which variable value should match with which line in straight table. Can this be made as an additional field during load? It would make it a lot easier.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588667#M1120522</guid>
      <dc:creator />
      <dc:date>2014-01-30T15:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable for calculated dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588668#M1120523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really need to use variable in calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;variable definition= 'Valuelist(' &amp;amp; chr(39) &amp;amp; concat(distinct if(Left([Resume Title],4)=Left([Requirement Title],4),HotListDisplayName), chr(39) &amp;amp; chr(44) &amp;amp; chr(39)) &amp;amp; chr(39) &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the calculated dimension, =$(variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, your expression will also need to be modified as this calculated dimension is merely a list of value not one of the fields connected to any table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588668#M1120523</guid>
      <dc:creator />
      <dc:date>2014-01-30T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable for calculated dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588669#M1120524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe some combinations does not return values.&lt;/P&gt;&lt;P&gt;Please add a fixed "1" as expression and check if all rows are listed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588669#M1120524</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-01-30T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable for calculated dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588670#M1120525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried an additional load statement as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Load &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Resume Title]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4)=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Requirement Title]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HotListDisplayName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SuitableConsultants&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Before this I have 3 load statements for 3 different tables(Excel files).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In my if condition the fields are coming from different tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The field SuitableConsultants is not showing up in select fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-for-calculated-dimension/m-p/588670#M1120525</guid>
      <dc:creator />
      <dc:date>2014-01-30T16:11:22Z</dc:date>
    </item>
  </channel>
</rss>

