I am running into an issue when I try to report all the activity for the previous month. There are 2 issues my month is not the same as the calendar month(meaning the a school_month can span between 2 calendar months) I have a table which gives me the start date and end date for each school_month with the month_number. I also have a column where I can check what the current school month is, but I am not able to filter on the data for the previous month. Here is how the data is
Within the IMAP Filter creation screen, after selecting s_month = 8, click 'Add', then select cur_month < 9, then click 'Add'. You will then have both criteria within a single filter available for use. (You can view the filter expression by clicking the '+' to expand that area of the filter screen.)
What we do is have attributes on the dimension loaded during ETL- this might be more helpful when dealing with non-standard dates.
In the dimension in question, the attribute could be called Current Month and the value at the current month will always be "Current Month". The Previous value would be called " Previous Month".
With this you could schedule your reports to WHERE Current = " "Previous Month".