BookmarkSubscribeRSS Feed
sasban
Obsidian | Level 7

I'm trying to make a project which can run for data of different time periods- say 1. 12/01/2015 to 11/30/2016, 2. 06/01/2016 to 05/31/2017, 3. 12/01/2016 to 11/30/2017, 4. 06/01/2017 to 05/31/2018 and record final output of each time period. Any suggestions from the community would be of great help.

2 REPLIES 2
Reeza
Super User

Create a two macro parameters for your ranges and use those in your report.

 

See an example here:

http://support.sas.com/resources/papers/proceedings13/028-2013.pdf

sasban
Obsidian | Level 7

@Reeza- Thank you! I'll try.

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