COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Chamopak on 17 Mar 2020 10:55:46 AM

Title: Last 3 Months with Data
Post by: Chamopak on 17 Mar 2020 10:55:46 AM
Hi,

I do not know if this question has been asked already.
but I am trying to have a report to automatically show the last 3 months with data.

For example:

Set Month:
Jan    Feb     Mar     Apr        May     Jun
12      342   65        89          43


Then I only need to display:
    Mar     Apr        May
   65        89          43

Can anyone help?
TM1 is the backend database.

Title: Re: Last 3 Months with Data
Post by: BigChris on 17 Mar 2020 02:28:49 PM
No idea about the TM1 aspect...is that an OLAP source, or is it relational? Either way, you're going to need to take into account the year as well, otherwise the report is going to fall over in January.