Your SAS programs, embedded in web apps and elsewhere

Filter message appears in results when the stp is executed in SAS Add-In for MS Excel

Accepted Solution Solved
Reply
Contributor
Posts: 20
Accepted Solution

Filter message appears in results when the stp is executed in SAS Add-In for MS Excel

Hello,

 

I meet a problem when I execute a Stored process in SAS Add-In for MS Office :

 

1 - My Stored Process does this task :

 

- Print data :

 

PROC PRINT DATA=proma.DATA_STRUCTUREMARCHES NOOBS LABEL;
	WHERE STRIP(num_marche) = "&mac_num_marche" AND IS_DOUBLON_NUM_DOSSIER = '1';
	VAR num_marche lib_marche code_societe date_debmarche date_finmarche code_gestionnairemarche CODE_FOURNISSEUR CODE_TVA;
	BY NUM_MARCHE CODE_FOURNISSEUR; 
RUN;

 

2 - When I execute this stored process, a line appear automatically with the report in Excel (in yellow) :

 

Filter_message in report_excel.PNG

 

Is anyone knows if an option exist in order to desactivate this filter message ??

 

Best regards,

Gaétan

 

 


Accepted Solutions
Solution
‎01-05-2016 03:38 AM
Super User
Posts: 11,343

Re: Filter message appears in results when the stp is executed in SAS Add-In for MS Excel

I believe those values appear because you are using BY group processing with Proc Print. You will get that at the start of each table for each combination of NUM_MARCHE and CODE_FOURNISSEUR. If you only ever have one combination of the two variables that may not be helpful. The System option BYLINE/ NOBYLINE controlls appearance of the by variables and values. If you use NOBYLINE with Proc Print you may get unexpected page feeds between sections of output when generating more that one by group of output.

View solution in original post


All Replies
Solution
‎01-05-2016 03:38 AM
Super User
Posts: 11,343

Re: Filter message appears in results when the stp is executed in SAS Add-In for MS Excel

I believe those values appear because you are using BY group processing with Proc Print. You will get that at the start of each table for each combination of NUM_MARCHE and CODE_FOURNISSEUR. If you only ever have one combination of the two variables that may not be helpful. The System option BYLINE/ NOBYLINE controlls appearance of the by variables and values. If you use NOBYLINE with Proc Print you may get unexpected page feeds between sections of output when generating more that one by group of output.

Contributor
Posts: 20

Re: Filter message appears in results when the stp is executed in SAS Add-In for MS Excel

You are right, it is the solution !

 

Thank you,

 

Gaetan

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 250 views
  • 0 likes
  • 2 in conversation