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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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