BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Lychee
Calcite | Level 5

I have two datasets with a commnon variable named Customer_ID. This ID variable's role was set to ID when it was initially imported into the EM as data source. Now I was trying to combine two two datasets through "Merge" node. In the property window, I set Merging type as "Match". But when I was trying to select the common varaible in the "By Ordering" menu, the Customer_ID was not there.

1 ACCEPTED SOLUTION

Accepted Solutions
WendyCzika
SAS Employee

Before opening the By Ordering dialog, right-click on the Merge node and select Edit Variables.  Then you can set the Merge Role for Customer_ID to be "By".  After clicking OK to close this dialog, you can now open the By Ordering dialog and you should see Customer_ID show up now (this step isn't necessary though).

Hope that helps!

View solution in original post

3 REPLIES 3
WendyCzika
SAS Employee

Before opening the By Ordering dialog, right-click on the Merge node and select Edit Variables.  Then you can set the Merge Role for Customer_ID to be "By".  After clicking OK to close this dialog, you can now open the By Ordering dialog and you should see Customer_ID show up now (this step isn't necessary though).

Hope that helps!

Lychee
Calcite | Level 5

Thank you so much, Wendy. You saved me lots of time. I spent whole day yesterday but can't figure it out.

A further question - After running the Merge node, I right-clicked on the Merge node and select Edit Variables. All the variables listed there are coming from only one of two datasets. I thought I should see the variables from both datasets.

WendyCzika
SAS Employee

To see the variables in the merged data set, you can click on the button for Exported Data from the Properties panel when the Merge node is selected, then either Browse or click Properties to see the variables in the merged, exported train data.  Or connect the Merge node to another node, and in the new node you can do Edit Variables to see all the variables.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 5949 views
  • 5 likes
  • 2 in conversation