<?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: Getting the values from another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026319#M346848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is my application Table 1 is weekly Metrics Table 2 is Metrics definition,And yes User Friendly Metric Name is Unique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 17:50:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-27T17:50:14Z</dc:date>
    <item>
      <title>Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026315#M346844</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;I have 2 tables say Table 1 and&amp;nbsp; Table 2 , I want to get Target and Bridge values from Table 2 without joining or concatenating in the data model .. my dimension for the chart is Category , so I need to find the value based on Category and User friendly metric name , match them and get the related Bridge and Target values .. how can I achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122800_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026315#M346844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-26T22:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026316#M346845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These tables are unlinked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only (Aggr( If( Category = [User Friendly Metric Name], [Target Value]), Category, &lt;SPAN style="font-size: 13.3333px;"&gt;[User Friendly Metric Name]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Only (Aggr( If( Category = [User Friendly Metric Name], [Bridge]), Category, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[User Friendly Metric Name]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026316#M346845</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-26T22:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026317#M346846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be if you can add a sample like before, it might be easier to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026317#M346846</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-26T22:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026318#M346847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The straight forward and efficient solution in QlikView would be to create a key between the two tables. This is done in the Load Script by adding a field to each of the tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber( Category ) AS %CatMet,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber( [User Friendly Metric Name] ) AS %CatMet,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; .....;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;This will associate the two tables with each other so you can just refer to the two fields in the As Of chart without problem and without getting a cartesian join. This is an effective lookup.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;A presumption I made is that the [User Friendly Metric Name] is a unique key in the Table2. If it is not... you will have to give more information to us about the nature of the the Table2...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 06:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026318#M346847</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-27T06:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026319#M346848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is my application Table 1 is weekly Metrics Table 2 is Metrics definition,And yes User Friendly Metric Name is Unique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026319#M346848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026320#M346849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tables are linked but not directly , please take a look at the attached data model .. I just joined it on CLNDR_DT , hoping to get the Bridge and Target values .. it does not matter that both have to be joined as long as we get the needed values from Metrics Definition table.If there is a way I could get bridge and target values from Metrics Definitions tables without joining also please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026320#M346849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T17:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026321#M346850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if attach works for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122905" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122905_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bridge Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Category = [User Friendly Metric Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] ={'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} [Bridge Value])), Category, [User Friendly Metric Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traget Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Category = [User Friendly Metric Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] ={'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} TargetValue)), Category, [User Friendly Metric Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026321#M346850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T18:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026322#M346851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is it , but I have an open document trigger , where a User Friendly Metrics Name is selected , to avoid this for the bridge and target values i have ignored the userfriedly name but it does not seem to work, attached the app again , please take a look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026322#M346851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T18:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026323#M346852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bridge:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] ={'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Only({&amp;lt;[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} Category) = Only({&amp;lt;[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;}[User Friendly Metric Name]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} [Bridge Value])), Category, [User Friendly Metric Name]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] ={'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Only({&amp;lt;[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} Category) = Only({&amp;lt;[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;}[User Friendly Metric Name]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;CLNDR_DT={'$(=vSelectedDate)'},[User Friendly Metric Name] = {'P0 Escapes','P1 Escapes','P2 Escapes','P3 Escapes'}&amp;gt;} TargetValue)), Category, [User Friendly Metric Name]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026323#M346852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T18:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026324#M346853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That expression looks scary &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .. Thank you very much it worked !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026324#M346853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T18:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026325#M346854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does, and you might be able to remove some of the stuff, but I tried adding all the inner Aggr set analysis to the outer Aggr set analysis as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 18:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-values-from-another-table/m-p/1026325#M346854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T18:55:25Z</dc:date>
    </item>
  </channel>
</rss>

