I created a report using data from January and I have similar datasets (all of the same column headers) for every other month. Is it possible to duplicate all efforts from the January report / dataset to create similar reports for every other month without manually doing the same work for each month?
Yes, but you probably need to provide more info on what you're doing for specific assistance. Sometimes this is done via macros (see links below) or via BY group processing depending on the code.
UCLA introductory tutorial on macro variables and macroshttps://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/Tutorial on converting a working program to a macroThis method is pretty robust and helps prevent errors and makes it much easier to debug your code. Obviously biased, because I wrote it 🙂 https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.mdExamples of common macro usagehttps://communities.sas.com/t5/SAS-Communities-Library/SAS-9-4-Macro-Language-Reference-Has-a-New-Ap...
@Caleb2 wrote:
I created a report using data from January and I have similar datasets (all of the same column headers) for every other month. Is it possible to duplicate all efforts from the January report / dataset to create similar reports for every other month without manually doing the same work for each month?
My mistake, missed that this was in SAS VA.
Hi @Caleb2,
if you use the "change data source" option you can load the table for the new month.
As my SAS server is down, I insert an image from the web, where another option is marked. But you have to use the "change data source" option:
(Image taken from: @TeriPatsilaras : Using Data Views in SAS Visual Analytics, Using Data Views in SAS Visual Analytics - SAS Users)
Best
Markus
Hi @MarkusWeick,
I don't seem to have that option available:
I already imported the file for February:
I created a handful of calculated items from the raw data in 'JAN PROJECT COUNT' and want to duplicate these items using the raw data from 'FEB PROJECT COUNT"
Is this possible?
Thanks,
Caleb
Are these tables exactly the same except for the actual values? So, the column names, data types, everything? If so, you should be able to Replace JAN PROJECT COUNT with the Feb table.
You should first remove the Feb table from the report.
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
That worked perfectly! Thank you so much 🙂
As Madelyn wrote:
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.