COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: daya007 on 02 Aug 2010 04:19:34 PM

Title: Filter in DMR
Post by: daya007 on 02 Aug 2010 04:19:34 PM
Hi I have a time dimension which has hierarchy as Total Year->Years->Quarters->Months
How can i dynamically filter time dim so that it shows current month.
Title: Re: Filter in DMR
Post by: peritas-chris on 05 Aug 2010 11:14:35 AM
You will need to base it on some sort of rule.  Are you just trying to find the last month in the time dimension (ie the latest month)?  If so, you can use the tail() function (among others) to get the last member in a specific level.  Any more information you have would help me suggest a solution. Thanks!