0
%_pd_prov_sched_future (
          _begin_date             = '01MAY2020'D
        , _end_date               = '31MAY2020'D
        , _fac_id                 = 
        , _parrs_clinic_cd        = 
        , _resource_id_schedule   =
        , _current_bkbl_nonbkbl_type =
        , _appt_avail_bkg            =
        , _add_bkd_appt_detail    = YES
        , _output_dataset         = _pd_prov_sched_future
        , _library                = work
                    ) ;
proc freq data=_pd_prov_sched_future;
    table PRIMARY_MNEMONIC_SCHEDULE*current_activity_cd*current_bkbl_nonbkbl_type/list;
run;

the proc freq looks like this[enter image description here] I'm wondering how I can change the frequency & percent to select categories opposed to having it be the total.

1 Answers1

0

Might be that you want to use a BY statement.

proc freq data=_pd_prov_sched_future;
  by category;
  table 
    PRIMARY_MNEMONIC_SCHEDULE
    * current_activity_cd
      * current_bkbl_nonbkbl_type / list;
run;
Richard
  • 25,390
  • 3
  • 25
  • 38