02-04-2014 08:49 AM
Hello EG Users,
As I understand, it is possible to accept input from user by means of Prompts in Enterprise Guide and use it as dynamic variable in queries to pull only relevant data.
Once the output is ready and charts are designed, if Analyst wants to add comments to the chart, is it doable? Is there a way to give analyst prompt so that their insights can be embedded in the final report? What I am looking for is simple text field that accepts text from analyst and embeds it in the report. In summary, final report is hybrid version of what the numbers tell the story as well as additional findings from wealth of experience that analyst has accumulated over several years?
02-06-2014 09:00 AM
If you define a text prompt (say pComment), I believe you can associate that prompt with the code that generates the report and use it as you would a macro variable.
or some such thing.
02-06-2014 02:26 PM
That sounds like what I might be looking for. Can you please specify where in SAS Enterprise Guide, I will be able to define text prompt?
In the above code, &pComment is expected to contain input that user enters, is that right?
02-10-2014 03:32 PM
The text should be in quotes:
ODS Text='This is the text I want to appear in the output';
If you want a macro variable to resolve the quotes have to be double quotes.