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?
Thank You,
Dhanashree
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.
TITLE &pComment;
or some such thing.
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?
Thanks!
If you right-click on the node and select properties, you should be able to get to the prompt manager.
You could also use the ODS TEXT= statement to add notes to output.
Hi Fugue,
SO in the statement above if Insight is one of my prompts, then
ODS TEXT=insight
will add notes to output. Is that correct?
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.