SAS Enterprise Guide

Desktop productivity for business analysts and programmers
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/

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 994 views
  • 0 likes
  • 2 in conversation