<?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: join, match, and pull in new value from 2 tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809454#M319224</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/267470"&gt;@lberghammer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thank you so much this is perfect and it worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You're welcome. Glad to hear that it worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was already thinking that a vertical structure of the key dataset would be more convenient.&lt;/P&gt;
&lt;P&gt;Indeed, with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data key2;
input Vn Va Value;
cards;
0 . 0
1 . .
2 . .
3 . .
. 1 .
. 2 .
. 3 .
. 4 .
0 1 0
0 2 0
0 3 0
0 4 0
1 1 0.11
1 2 0.32
1 3 0.64
1 4 1.07
2 1 0.25
2 2 0.75
2 3 1.5
2 4 2.5
3 1 0.43
3 2 1.29
3 3 2.57
3 4 4.29
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can use a hash object containing the data from KEY2 to perform the look-up:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=_j V: P1--P4a);
if _n_=1 then do;
  dcl hash h(dataset:'key2');
  h.definekey('Vn','Va');
  h.definedata('Value');
  h.definedone();
  if 0 then set key2;
end;
set survey;
array Q[*] P1--P4a;
array PX[4];
do _j=1 to dim(PX);
  if h.find(key:Q[2*_j-1], key:Q[2*_j])=0 then PX[_j]=Value;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Similar to the first solution, the key table (here: KEY2) is first read into a temporary data structure (here: the hash object &lt;FONT face="courier new,courier"&gt;h&lt;/FONT&gt;, not an array as in the first solution). Unlike an array, a hash object can deal with missing key values like the missings of &lt;FONT face="courier new,courier"&gt;Vn&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;Va&lt;/FONT&gt; in dataset KEY2. The values from dataset SURVEY are passed to the FIND method of the hash object, which retrieves the value of the "data item" &lt;FONT face="courier new,courier"&gt;Value&lt;/FONT&gt;&amp;nbsp;if matching key values were found. Then the return code of the FIND method is zero and the content of &lt;FONT face="courier new,courier"&gt;Value&lt;/FONT&gt; is written to the appropriate &lt;FONT face="courier new,courier"&gt;PX&lt;/FONT&gt;... variable. Otherwise (i.e., if no matching key values were found), the initial missing value of &lt;FONT face="courier new,courier"&gt;PX&lt;/FONT&gt;... is left unchanged.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Apr 2022 17:01:22 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2022-04-23T17:01:22Z</dc:date>
    <item>
      <title>join, match, and pull in new value from 2 tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809440#M319220</link>
      <description>&lt;P&gt;I have 2 datasets, 1 that is a key and what that is survey data. I am trying to pull the value associated with 2 variables and match with the combination of 2 variables across 6 total pairs.&lt;/P&gt;&lt;P&gt;"key" dataset&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;row&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&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;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the intersection of the row and column values for the "key" dataset match to the unique combination for P1 and P1a ---P4 and P4a in the "datafile", where the column value in "key" indicates the P"x" lookup value and the row value in "key" indicates the P"Xa" value to create a new variable PX1 for the new value for each record within the dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;result would yield&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PX1&lt;/TD&gt;&lt;TD&gt;PX2&lt;/TD&gt;&lt;TD&gt;PX3&lt;/TD&gt;&lt;TD&gt;PX4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;(*in key table, over 1 (P1) and down 1 (P1a)) =0.11&lt;/TD&gt;&lt;TD&gt;1.5&lt;/TD&gt;&lt;TD&gt;4.29&lt;/TD&gt;&lt;TD&gt;.32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.5&lt;/TD&gt;&lt;TD&gt;.32&lt;/TD&gt;&lt;TD&gt;1.5&lt;/TD&gt;&lt;TD&gt;2.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.43&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0.64&lt;/TD&gt;&lt;TD&gt;4.29&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 23 Apr 2022 12:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809440#M319220</guid>
      <dc:creator>lberghammer</dc:creator>
      <dc:date>2022-04-23T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: join, match, and pull in new value from 2 tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809444#M319221</link>
      <description>&lt;P&gt;Hallo&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/267470"&gt;@lberghammer&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities (as a first-time poster)&lt;FONT face="helvetica"&gt;!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me first create test datasets from your sample data:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data key;
input _row _0-_3;
cards;
1 0 .11  .25 .43
2 0 .32  .75 1.29
3 0 .64  1.5 2.57
4 0 1.07 2.5 4.29
;
 
data survey;
input P1 P1a P2 P2a P3 P3a P4 P4a;
cards;
1 1 2 3 3 4 1 2
2 3 3 1 2 3 2 4
3 1 0 . 1 3 3 4
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The structure of your real datasets may be different, but for the above datasets the following DATA step works:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=_: P1--P4a);
array key[4,0:3] _temporary_;
array _[0:3] _0-_3;
if _n_=1 then do _p=1 to dim1(key);
  set key point=_p;
  do _i=0 to dim(_)-1;
    key[_row,_i]=_[_i];
  end;
end;
set survey;
array Q[*] P1--P4a;
array PX[4];
do _j=1 to dim(PX);
  PX[_j]=key[coalesce(Q[2*_j],1), Q[2*_j-1]];
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;First ("&lt;FONT face="courier new,courier"&gt;if _n_=1&lt;/FONT&gt; ..."), a two-dimensional temporary array (named &lt;FONT face="courier new,courier"&gt;key&lt;/FONT&gt;) is populated with the values from dataset KEY. Then, using the row and column numbers from dataset SURVEY, variables PX1-PX4 are populated with values retrieved from array &lt;FONT face="courier new,courier"&gt;key&lt;/FONT&gt;. Note that I obtain PX2=0.&lt;EM&gt;43&lt;/EM&gt; for the second observation of the survey data, not the 0.32 (typo?) shown in your "result" table. To get &lt;EM&gt;all&lt;/EM&gt; P... variables into dataset WANT, just remove &lt;FONT face="courier new,courier"&gt;P1--P4a&lt;/FONT&gt; from the DROP= dataset option.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 13:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809444#M319221</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-04-23T13:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: join, match, and pull in new value from 2 tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809450#M319223</link>
      <description>&lt;P&gt;Yes!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much this is perfect and it worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a follow-up, tp account for missing responses/values (for the interim) I converted the 1 missing to 0 i.e. if the "key" dataset were to be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;data key;
input _row . _0-_3;
cards;
1 . 0 .11  .25 .43
2 . 0 .32  .75 1.29
3 . 0 .64  1.5 2.57
4 . 0 1.07 2.5 4.29
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how could you possibly account for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another way of looking at the same key dataset- say "key2" would be; where Vn and Va are the paired look-up values for P1 and P1a; P2 and P2a --P4 and P4a, to pull in the corresponding "value" PX1 --PX4 (same as before).&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Vn&lt;/TD&gt;&lt;TD&gt;Va&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/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gt;&lt;TD&gt;0.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0.43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1.29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2.57&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4.29&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also, thanks for catching that typo!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 16:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809450#M319223</guid>
      <dc:creator>lberghammer</dc:creator>
      <dc:date>2022-04-23T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: join, match, and pull in new value from 2 tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809454#M319224</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/267470"&gt;@lberghammer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thank you so much this is perfect and it worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You're welcome. Glad to hear that it worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was already thinking that a vertical structure of the key dataset would be more convenient.&lt;/P&gt;
&lt;P&gt;Indeed, with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data key2;
input Vn Va Value;
cards;
0 . 0
1 . .
2 . .
3 . .
. 1 .
. 2 .
. 3 .
. 4 .
0 1 0
0 2 0
0 3 0
0 4 0
1 1 0.11
1 2 0.32
1 3 0.64
1 4 1.07
2 1 0.25
2 2 0.75
2 3 1.5
2 4 2.5
3 1 0.43
3 2 1.29
3 3 2.57
3 4 4.29
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can use a hash object containing the data from KEY2 to perform the look-up:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want(drop=_j V: P1--P4a);
if _n_=1 then do;
  dcl hash h(dataset:'key2');
  h.definekey('Vn','Va');
  h.definedata('Value');
  h.definedone();
  if 0 then set key2;
end;
set survey;
array Q[*] P1--P4a;
array PX[4];
do _j=1 to dim(PX);
  if h.find(key:Q[2*_j-1], key:Q[2*_j])=0 then PX[_j]=Value;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Similar to the first solution, the key table (here: KEY2) is first read into a temporary data structure (here: the hash object &lt;FONT face="courier new,courier"&gt;h&lt;/FONT&gt;, not an array as in the first solution). Unlike an array, a hash object can deal with missing key values like the missings of &lt;FONT face="courier new,courier"&gt;Vn&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;Va&lt;/FONT&gt; in dataset KEY2. The values from dataset SURVEY are passed to the FIND method of the hash object, which retrieves the value of the "data item" &lt;FONT face="courier new,courier"&gt;Value&lt;/FONT&gt;&amp;nbsp;if matching key values were found. Then the return code of the FIND method is zero and the content of &lt;FONT face="courier new,courier"&gt;Value&lt;/FONT&gt; is written to the appropriate &lt;FONT face="courier new,courier"&gt;PX&lt;/FONT&gt;... variable. Otherwise (i.e., if no matching key values were found), the initial missing value of &lt;FONT face="courier new,courier"&gt;PX&lt;/FONT&gt;... is left unchanged.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 17:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/join-match-and-pull-in-new-value-from-2-tables/m-p/809454#M319224</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-04-23T17:01:22Z</dc:date>
    </item>
  </channel>
</rss>

