<?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: How to populate referenced columns from a single table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464005#M1153121</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the excel attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here I have used two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Sales :With 20 sales person's Sales value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Sales person :With Sales person's ID and Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you look in the Qvw file attached where i have used the exists function, which is fetching only the names of sales person which are there in Sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will clear your idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 08:59:24 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-03-22T08:59:24Z</dc:date>
    <item>
      <title>How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/463998#M1153114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am new to QlikView, so not sure if this question is already addressed. There are 2 tables that is imported in QlikView. Each table has a field "Location". &lt;/P&gt;&lt;P&gt;There is a table "Sales" , "Location Info".&lt;/P&gt;&lt;P&gt;Now the problem is when I try to get values of "Location" corresponding to a single table "Sales" . I get the values of "Location" present in Location table as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we restrict the "Location" value from a single table, maintaing the relation between table. So that I can see "Location desc" etc, from the other table when I select a "Location" from Sales table.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 06:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/463998#M1153114</guid>
      <dc:creator />
      <dc:date>2013-03-21T06:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/463999#M1153115</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;Do onr thing i hope ur Sales table is transaction table, common field is location...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then make left join to both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Table&lt;/P&gt;&lt;P&gt; Left join&lt;/P&gt;&lt;P&gt;Master table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u will get what i required...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check both location carring same field values r not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khadeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 07:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/463999#M1153115</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-03-21T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464000#M1153116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes thats an option, but is there any way, to keep it in the distributed form(normalized form), and still achive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I just explore a single table's field if the field has a associated field in another table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 08:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464000#M1153116</guid>
      <dc:creator />
      <dc:date>2013-03-21T08:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464001#M1153117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from&amp;nbsp; Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from location where exists(Location,Location);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This script works as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales will get you all the location data, where as location will get only the location details which are available in Sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 09:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464001#M1153117</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-21T09:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464002#M1153118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;Thats a great trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the problem is in some other Charts, I need all values from the other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Potentailly back to round Zero.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satish Pradhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 14:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464002#M1153118</guid>
      <dc:creator />
      <dc:date>2013-03-21T14:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464003#M1153119</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please give an example for more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 06:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464003#M1153119</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-22T06:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464004#M1153120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I need a graph depecticting the Inventory position accross all Location.&lt;/P&gt;&lt;P&gt;Now as we have loaded only those locations which are available in Sales table, we lost some datas, right.&lt;/P&gt;&lt;P&gt;So now the graph is not accurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, for the previous answer as you suggested, can you please give an exact syntax, for the scripts, or a demo sort of thing. I am very new to Qlikview and not good with scripting. So I was unable to use you idea, as I was unable to create the corresponding script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your time and analytical ability to tackel questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satish Pradhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 08:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464004#M1153120</guid>
      <dc:creator />
      <dc:date>2013-03-22T08:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464005#M1153121</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the excel attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here I have used two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Sales :With 20 sales person's Sales value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Sales person :With Sales person's ID and Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you look in the Qvw file attached where i have used the exists function, which is fetching only the names of sales person which are there in Sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will clear your idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 08:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464005#M1153121</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-22T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464006#M1153122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way to do this is to create a qualified location fields along with the original field. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location As Sales.Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;From Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outer Join (Sales)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Location As Location.Location,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;From Location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the Location field behaves the same as before, and Sales.Location will only show the fields in Sales and Location.Location will show the fields from Location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not confuse these qualified names, they are NOT the same as qualified fields in SQL, they are simply other field names. Qlikviews expression language has no concept of tables, only of fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 09:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464006#M1153122</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-03-22T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464007#M1153123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;Thanks for the sample and the super quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a quick question. If I need a table, which shows all the Sales-person, then I am losing dat from ID from 21 to 26 .&lt;/P&gt;&lt;P&gt;See now we have a loss of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now is there any way, to let the enitire data be loaded, but restrict the values in a graph/table to that which appears in the a single table or file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satish Pradhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 09:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464007#M1153123</guid>
      <dc:creator />
      <dc:date>2013-03-22T09:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate referenced columns from a single table.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464008#M1153124</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then for this you dont require the Exists function. All you do is load the full data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now when ever you are looking the sales data in any chart, it will show you only the list of sales person which are associated with sales data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Only when you put listbox you will see all the sales person id and name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attached example for more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 09:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-populate-referenced-columns-from-a-single-table/m-p/464008#M1153124</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-22T09:59:38Z</dc:date>
    </item>
  </channel>
</rss>

