<?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: Substitute the value of a dimension with another Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948523#M973841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adopting something I learned from another thread by changing the expression for Data1 into =&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ID&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;NextID&lt;/SPAN&gt;)&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Data1&lt;/SPAN&gt;) but it is not working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 16:46:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-15T16:46:57Z</dc:date>
    <item>
      <title>Substitute the dimension [Straight Table] with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948522#M973840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikview Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one table with two columns having different field names but having the same set of fields, [ID] and [NextID]. I have another table having [ID] and [Data1]. I am trying to create a Straight Table where the Dimension is [NextID] and the Expression is [Data1]. The values for [Data1] would be the values of [ID] where [ID] = [NextID]. Please see below to illustrate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;TWO TABLES LOADED:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid #000000; border-image: none;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;Location&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;Data1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;Area1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;Area1&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;DEF&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;Area2&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;Area3&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;750&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;Area3&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="274" style="border: 1px solid #000000; border-image: none;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;NextID&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;DEF&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;OBJECTIVE:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;List box will be available to user to select [Location]. If user selects &lt;STRONG&gt;Area1&lt;/STRONG&gt;, the straight table should result in:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; border-image: none;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;NextID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;Data1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;DEF&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;GHI&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user selects &lt;STRONG&gt;Area2&lt;/STRONG&gt;, the straight table should result in:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; border-image: none;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;NextID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="padding: 2px; border: 1px solid #000000; border-image: none; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;Data1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;JKL&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;750&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;MNO&lt;/TD&gt;&lt;TD style="padding: 2px; border: 1px solid #000000; border-image: none;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have challenges correctly pulling [Data1].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for assistance! Thanks! Attached sample document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948522#M973840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute the value of a dimension with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948523#M973841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adopting something I learned from another thread by changing the expression for Data1 into =&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ID&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;NextID&lt;/SPAN&gt;)&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Data1&lt;/SPAN&gt;) but it is not working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 16:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948523#M973841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute the dimension [Straight Table] with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948524#M973842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still hitting a wall on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially the challenge here is that my dimension on the chart is on a Field, 'NextID' (which has the &lt;SPAN style="text-decoration: underline;"&gt;same set of values&lt;/SPAN&gt; as another Field, 'ID') but the data on my expression is linked to the other Field, 'ID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use 'NextID' as the dimension but at the same time pull 'Data1' as the expression respective to it as if the field, 'ID', was substituted with 'NextID'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 23:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948524#M973842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-16T23:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute the dimension [Straight Table] with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948525#M973843</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_180625_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99183_QlikCommunity_Thread_180625_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_180625_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/99184_QlikCommunity_Thread_180625_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_180625_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/99189_QlikCommunity_Thread_180625_Pic4.JPG" style="height: 201px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_180625_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/99188_QlikCommunity_Thread_180625_Pic3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14424469686916054" jivemacro_uid="_14424469686916054"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="180625" data-objecttype="1" href="https://community.qlik.com/thread/180625"&gt;https://community.qlik.com/thread/180625&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table2:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="180625" data-objecttype="1" href="https://community.qlik.com/thread/180625"&gt;https://community.qlik.com/thread/180625&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @2);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table3:&lt;/P&gt;
&lt;P&gt;LOAD ID as NextID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data1 as NextData1&lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 23:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948525#M973843</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-09-16T23:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute the dimension [Straight Table] with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948526#M973844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This checks out. Thank you for your help, sir!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 09:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948526#M973844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-27T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute the dimension [Straight Table] with another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948527#M973845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 10:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-the-dimension-Straight-Table-with-another-Field/m-p/948527#M973845</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-09-27T10:34:46Z</dc:date>
    </item>
  </channel>
</rss>

