<?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 Variable Output based on 2 data source comparisons in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017771#M344671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I explain this in enough detail..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two data sources MS.xls and PS.xls. They both contain a field called Project and Project Description amongst several other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the MS data to remain unmodified as its important on its own. When utilizing the PS file, I need to essentially say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE Project_PS= Project_MS&lt;/P&gt;&lt;P&gt;Pull fields x,y,z from MS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using Joins but got data from MS that I didn't want in PS and vice versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2016 21:03:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-25T21:03:01Z</dc:date>
    <item>
      <title>Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017771#M344671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I explain this in enough detail..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two data sources MS.xls and PS.xls. They both contain a field called Project and Project Description amongst several other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the MS data to remain unmodified as its important on its own. When utilizing the PS file, I need to essentially say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE Project_PS= Project_MS&lt;/P&gt;&lt;P&gt;Pull fields x,y,z from MS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using Joins but got data from MS that I didn't want in PS and vice versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017771#M344671</guid>
      <dc:creator />
      <dc:date>2016-04-25T21:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017772#M344672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;/P&gt;&lt;P&gt;I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MS_Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Project,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[Project Description]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;From C:\MS.xls&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;---- Update your path and filename here&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Left Join(MS_Data)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Project,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;[Project Description]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;From C:\PS.xls&amp;nbsp; &lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&amp;lt;---- Update your path and filename here&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;II.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Exists (Project)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017772#M344672</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-04-25T21:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017773#M344673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactely sure what you need but maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD Project&lt;/P&gt;&lt;P&gt;FROM PS.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projects:&lt;/P&gt;&lt;P&gt;LOAD Project, [Project Description], OtherField&lt;/P&gt;&lt;P&gt;FROM MS.xls&lt;/P&gt;&lt;P&gt;WHERE exists(Project);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017773#M344673</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-25T21:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017774#M344674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Robyn Jones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MS:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Project&lt;/P&gt;&lt;P&gt;FROM MS.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[Project PS],&lt;/P&gt;&lt;P&gt;[Project_Description],&lt;/P&gt;&lt;P&gt;x,&lt;/P&gt;&lt;P&gt;y,&lt;/P&gt;&lt;P&gt;z&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;PS.XLS&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;EXISTS (Project, [Project PS]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017774#M344674</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2016-04-26T13:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017775#M344675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one got me the closest but it also removed data that I needed from the PS.xls&lt;/P&gt;&lt;P&gt;So.. I created this sample excel that has two sheets. Pretend each sheet is a separate file. I put data from MS and data from PS in each one. I need the MS data to NOT change at all- when I ask for Project.. I just want Project from MS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I pull data from PS- I expect to see every project in PS but the additional info from MS that aligns. IE Where PS 'A' matches something in MS 'Project'&amp;nbsp; then display all the extra MS columns. Otherwise just give me the PS 'A' value with blanks in all the other columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 15:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017775#M344675</guid>
      <dc:creator />
      <dc:date>2016-04-26T15:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017776#M344676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you just want to join your two tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Project,&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 MS.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEFT JOIN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Project,&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 PS.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that only Project field name is the same in both tables (otherwise rename the non-key fields), and that there are no duplicate Project entries in PS.xls (Project is a primary key).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017776#M344676</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-26T16:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017777#M344677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem here is that i'm getting data from the MS table that I don't want.. for example if MS and PS both have Project 'A' but MS also has Project 'A.2'- I do not want both A and A,2 to come out but that's what's happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017777#M344677</guid>
      <dc:creator />
      <dc:date>2016-04-26T18:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Output based on 2 data source comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017778#M344678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't really understand your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier you said, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; I need the MS data to NOT change at all- when I ask for Project.. I just want Project from MS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me, this sounds as you want to show also Project A.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Output-based-on-2-data-source-comparisons/m-p/1017778#M344678</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-26T18:29:29Z</dc:date>
    </item>
  </channel>
</rss>

