I, too, am having trouble streaming graphical output via IDP to Excel. I can easily stream the table to an Excel workbook, but the graph does not follow.
What are the steps to include in my stored procedure that would allow a graph to be generated via IDP and streamed to Excel from the IDP?
Thank you
Nathan Och
Hi:
As I explained above, you may need to change the content-type header using the STPSRV_HEADER function in your stored process. You may need to have your Stored Process create package output. You may need to switch the server you use. Sometimes, you might need to use special reserved locations and/or stored process facilities like _SESSIONID or _TMPCAT or _REPLAY. The bottom line is that if your _ODSDEST is MSOFFICE2K or HTML, then you can send tables and graphs to Excel. However, if your value for _ODSDEST is TAGSETS.EXCELXP, then graphs are not supported in that version of Office Spreadsheet Markup Language XML -- by Microsoft design. So this is a question for Tech Support because what you want to do and how you do it will depend on many different factors.
cynthia
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.