I am still not getting the desired output. both the data sets have the same values of probability and other columns too which i require but i want that the output should be all the required columns of set 1 and only 1 column to be joined to that set 1based on probability,i dont want repeating probabilities. proc sql; create table p1 as select a.Probability____ , a.Account_Name as client ,a.Opportunity_Owner as champ, a.Last_Modified_Date as modified , sum(a.Total_Media_Value) as Tot_Budget,a.Deal_Comments, b.Total_Media_Value as Digital_bdgt from d.p3 as a left join dig as b on a.Probability____= b.Probability____ group by a.Probability____ order by a.Probability____ desc; quit; ##- Please type your reply above this line. Simple formatting, no attachments. -##
... View more