BookmarkSubscribeRSS Feed
rodrigo_pereira
Obsidian | Level 7

Hello experts,

I'm trying to do a full join between two tables. 

 

However I need to aggregate these tables before the join. What is the best way to do this?

 

When I specify the "group by" and "sum" columns in the "Column Editor" I'm getting the following error:

 

"ERROR: Sort execution failure."

 

89 /* Drop existing table */
90 %vdb_dt(LASRLIB.DM_ARPU_CBU);
91 data LASRLIB.DM_ARPU_CBU ( );
92 set TEMP_LASR_VIEW_3313 ( );
NOTE: The query requires remerging summary statistics back with the original data.
93 run;

ERROR: Sort execution failure.

1 REPLY 1
LinusH
Tourmaline | Level 20
I think the aggregation fails because of discrepancies between the select and the group by statements. Hence the "remerging" note and then the sort failure which could depend on lack of memory.
Data never sleeps

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
  • 1 reply
  • 702 views
  • 1 like
  • 2 in conversation