COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Dashboards => Topic started by: vcatarello on 08 Sep 2020 09:10:39 AM

Title: Showing total for only the last month
Post by: vcatarello on 08 Sep 2020 09:10:39 AM
Hello,

I have months Jan, Feb, Mar of 2020 but only want to show the total sales for the last month only. Is there a way to have this done?

Thanks
Title: Re: Showing total for only the last month
Post by: bus_pass_man on 15 Sep 2020 07:35:05 AM
Yes.   It really depends on your data and your data sources but it can range from easy peasy to a bit less so.

If you are using a module you can set up relative time measures.  One of the out of the box measures is last month.

If you data source supports the concept of relative time (a dynamic cube or mdc for example) then that's built in too or available via a dimensional function.

In general a filter of some sort could be of use.