Hello Everyone,
I am a new user to RTDM and trying to apply a filter using two below data grids (A,B), Unfortunately calculated variables has only Tableinnerjoin function available to read two data grids and generates the common records as output data grid.
DATA GRID A: P1 , P2, P3, P4, P5
DATA GRID B: P3, P5
Required Output DATA GRID A -B : P1,P2,P4
I couldn't find any ds2 code that reads the data grid as input and creates the output as data grid. I read that tap_table method in ds2 will read the data grid. It would be helpful if you can provide a sample ds2 code snippet to solve my problem.
Appreciate your help!!
Thanks
RTDM User
Thanks James !!
Hi James,
Below is the Jython code to read two data grids and apply filter.
ls_out = []
conf_out = []
#data = []
for items in comp_prod_lst:
if items not in prod_id:
ind = comp_prod_lst.index(items)
ls_out += [items]
conf_out += [conf[ind]]
filter_prod_cnt = len(ls_out)
Thanks
Bhanu
Hi,Bhanu
I want to use Jython to handle data grids in rtdm,can you provide some examples of Jython operating data grids?I can't find any valid data about it.
Thanks
Lucifer
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later
SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.
Find more tutorials on the SAS Users YouTube channel.
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later