The data analysis code you are looking to compose in your SAS program is based on what you term "comprehensive breakdown of revenues", also depending on the data you have available.
There are SAS PROCs, such as PROCs TABULATE, MEANS, SUMMARY, UNIVARIATE, each having particular data-analysis and/or built-in reporting capabilities. These functions can make use of "formattted" variable values, giving you the opportunity to use a SAS FORMAT to take a SAS DATE (numeric) variable and use the month/year formatted portion for analysis and output display.
Also, suggest you look at your available SAS "date" related variables and consider using a DATA step with SAS functions to derive a "month-start-date" or by week, as suits your analysis requirements.
Consider the wealth of SAS-hosted documentation and supplemental technical / conference reference materials and papers you have at your "free use" disposal on the SAS support
http://support.sas.com/ website, either using Google search or the website's SEARCH facility.
Scott Barry
SBBWorks, Inc.
Google advanced search argument, this topic/post:
data analysis revenue breakdown by month site:sas.com