Hi satlr, Please consider the next option I often use for these problems. I have created a date table that consist of all calendar dates from 1999 until two years ahead and added several calculated fields. (with sas base) Here a screen shot of the most common fields. While using this table in the queries and join on the transaction date, I have a scale of fields directly available on any location. If you now mathematically solve your problem creating a variable that is equal for the same situation. (This data is also used outside of SAS VA and is located in a data warehouse) For example I added a day of the month number that starts on the first Monday in the new financial period and combines the sat/sun into the Friday. This way I have an equal day counter every year that gives me 20/20/25 days scheme. (Fin.periods defined as 4/4/5 weeks) One of the profits I gained out of this, is that you only have to create the field once and can reuse it all the time without any additional effort. (Anyway, if a definition would change, you only have to change it once in this table, and all of your graphics will follow automatically) Maybe this is an idea to use. Greetings and a lot of success solving your problem. Peter
... View more