DATA Step, Macro, Functions and more

Calculate a % of a Balance

Reply
Frequent Contributor
Posts: 140

Calculate a % of a Balance

Hi, 

 

I need to calculate mortgages that are in arrears (arrears_bal_excl_fees)  by 1.5% or more than the outstanding balance (bal_sasout). 

 

How do I go about doing this please? 

 

 

data mortgage_arrs;
set mortbib.mortgage_&curr_month. (Keep= arrears_bal_excl_fees monthly_pmt bal_sasout);
run;

 

 

 

Super User
Super User
Posts: 7,392

Re: Calculate a % of a Balance

Well, 

if (arrears_bal_excl_fees / bal_sasout) * 100 > 1.5 then ...;
Ask a Question
Discussion stats
  • 1 reply
  • 170 views
  • 0 likes
  • 2 in conversation