BookmarkSubscribeRSS Feed
Programmer26
Calcite | Level 5
Hi All,

I am working on a project where i have to generate sparklines in the final before attaching the file in a sas e-mail.
My final output is something like

Id name num1 num2 num3 %_num
1 abc. $200. $300. $400. 70%
I have to add sparklines to this output on the basis of num1 num2 num3.
I am using ods excel and proc report to export the file to desired destination and i am not sure how will i incorporate sparklines to my existing code.
I searched for references and found a few sgplot examples but i am unable to take any advantage from those examples.

I would appreciate if any of you could help me out here.

Thank you in advance
3 REPLIES 3
Programmer26
Calcite | Level 5
Thanks for the reference.
It involves using sas and vba to create sparklines, however the excel that i am creating using ods excel and proc report and then has to be sent as a attachment via sas automated email.
So, i am not sure if that paper will be helpful to me or not.
Reeza
Super User
Guess you won't know unless you try.

Do you need your sparklines to be images or embedded in Excel as Excel graphics?

If you need Excel you'll need something like the solution above.
If you can have just a graphic, then something like this may work: https://blogs.sas.com/content/graphicallyspeaking/2017/11/14/spark-table/

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1195 views
  • 0 likes
  • 2 in conversation