COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Dineshpullagura on 18 Feb 2015 03:32:06 PM

Title: Report not showing latest data
Post by: Dineshpullagura on 18 Feb 2015 03:32:06 PM
Hello,

I am using cube as my data source for a report. My fact table for the cube is a MQT(Materialized Query Table). I have published the cube and report is showing the data present in the tables at the time of publishing. But, when there is an update on the table, it is not reflecting in the report. Report is still showing the old data.

I have set the 'Use Local Cache' option to No. Still i am not able to get the latest data.

Please suggest.

Thanks for your time.
Title: Re: Report not showing latest data
Post by: bdbits on 18 Feb 2015 06:02:06 PM
If it is a Transformer-based cubes, you have to rebuild it to pick up the latest data. Most people schedule this to happen on a nightly, weekly, or monthly basis, depending on how often the underlying data changes and user need to see the changes.
Title: Re: Report not showing latest data
Post by: Dineshpullagura on 19 Feb 2015 08:23:33 AM
Hi,

I am using  cognos dynamic cube.

Thank you
Title: Re: Report not showing latest data
Post by: bdbits on 19 Feb 2015 11:31:06 AM
Documentation on dynamic cubes talks about managing the in-memory caches. Basically, dynamic cubes read in most of the data at startup, and agressively cache after that for performance reasons. The short answer to your problem is that you have to tell Cognos when you want to refresh the caches to pick up new data, or stop/restart the cube. This can be scheduled. See http://www.redbooks.ibm.com/redbooks/pdfs/sg248064.pdf (http://www.redbooks.ibm.com/redbooks/pdfs/sg248064.pdf) especially chapter 2.