BookmarkSubscribeRSS Feed
jpapaiac
Fluorite | Level 6

How can I use a variable from a different data source into my report.  Both sources have a common key. For example in one report I am using contract number and a product Id.  Now I want to bring the customer name from a different data source using the contract number as a primary key for both sources.

3 REPLIES 3
avvy
Quartz | Level 8

Hi,

To get the functionality as you require, you have to use "Prepare Data" using the common field or primary key. According to my knowledge it can't be achieved directly in the report designer if you are having two different data sources with common field.

Regards,

Abhishek

Lorrie_SAS
SAS Employee

Adding to Abhishek's comment, here is where you can find some information about using the data builder (data preparation) to create a data query:

SAS(R) Visual Analytics 7.1: User's Guide

Best regards,

Lorrie

Explore_SAS
Obsidian | Level 7

I am also facing the same issue. looks like there is no option than creating a new dataset with all the required columns in new report.

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1340 views
  • 0 likes
  • 4 in conversation