O'Reilly logo

IBM Cognos 10 Report Studio Cookbook - Second Edition by Abhishek Sanghani, Ahmed Lashin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manipulating the Date Time control

There is a report that allows users to filter on Shipment Date Time using the Date Time control. By default, Cognos selects the current date and midnight as the date and time.

Report Studio allows you to override this with another static default value. However, a business will usually run the report for the end of the previous business day (5 pm).

In this recipe, we will learn how to change the default date and time for a Date Time control to the end of the previous business day.

Getting ready

Create a dummy report that shows sales quantity by shipment day. Define a filter on shipment day.

How to do it...

In this recipe, we want to change the default date and time for a Date Time control to the end of the previous ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required