Book Image

IBM Cognos 8 Report Studio Cookbook

By : Abhishek Sanghani
Book Image

IBM Cognos 8 Report Studio Cookbook

By: Abhishek Sanghani

Overview of this book

Cognos Report Studio is widely used for creating and managing business reports in medium to large companies. It is simple enough for any business analyst, power user, or developer to pick up and start developing basic reports. However, when it comes to developing more sophisticated, fully functional business reports for wider audiences, report authors will need guidance. This book helps you understand and use all the features provided by Report Studio to generate impressive deliverables. It will take you from being a beginner to a professional report author. It bridges the gap between basic training provided by manuals or trainers and the practical techniques learned over years of practice. This book covers all the basic and advanced features of Report Authoring. It begins by bringing readers on the same platform and introducing the fundamental features useful across any level of reporting. Then it ascends to advanced techniques and tricks to overcome Studio limitations.Develop excellent reports using dimensional data sources by following best practices that development work requires in Report Studio. You will also learn about editing the report outside the Studio by directly editing the XML specifications. Provide richness to the user interface by adding JavaScript and HTML tags. The main focus is on the practical use of various powerful features that Report Studio has to offer to suit your business requirements.
Table of Contents (18 chapters)
IBM Cognos 8 Report Studio Cookbook
Credits
About the Author
About the Reviewers
Preface
Index

Capturing query


Report Studio is a tool for wider audience—right from business users, management personnel and analysts, to the pure technical report writers. If you are a technical person who understands the SQL/MDX being fired on the database, you certainly want to examine one to optimize the report performance and sometimes to merely ensure that everything is fine.

This recipe will talk about the right ways to capture the query fired on data source.

Getting ready

We will use the list report created in the previous recipe for this.

How to do it...

  1. Open the report in Cognos Report Studio.

  2. Go to Query Explorer and set the Usage of the filter item to Optional.

  3. From the menu, select Tools | Show Generated SQL/MDX.

  4. A new dialog box will appear with the SQL statements for each query subject. (only Query1 in this example)

  5. Choose Native SQL from the dropdown. Examine the SQL statement.

  6. You will notice that there are no filters in the WHERE condition.

  7. Now, close this dialog box. Change the Usage of filter...