Home > Articles

This chapter is from the book

Query Studio High-Level Interface

Query Studio interface is easy to use and consists of the following main areas: Menu pane, Standard toolbar, Style toolbar, Information pane, and the Work area, as shown in Figure 5.1.

Figure 5.1

Figure 5.1. Query Studio – high-level interface.

The Menu pane has Insert Data, Edit Data, Change Layout, Run Report, and Manage File options. Commonly used features discussed here also display in the Standard toolbar for easy access. Each option is discussed in the sections that follow.

Insert Data

The Insert Data menu enables you to add data items from the data tree to the report. It consists of three options:

  • Package Structure: Displays the data tree of data items in the selected package that you can use to build your report
  • Insert button: Adds the selected data item to the report in the work area
  • Information pane: Displays related information on the selected data items enabling you to confirm that the selected item is the one that you want to work with

Edit Data

The Edit Data menu enables you to work with data in your report and enhance your report by using options such as sort, suppress, filter, create calculations, and so on.

  • Filter: Enables you to filter unwanted data from the report, as shown as option 11 in Figure 5.1.
  • Combine Filters: Enables you to combine two or more filters to create a complex filter condition.
  • Suppress: Enables you to suppress rows with Zero values, Divide by zero, Missing values, and Overflow values from the report, as shown as 12 in Figure 5.1.
  • Sort: Specifies sort options as Ascending (A–Z), Descending (Z–A), and Don’t sort. Sort option is shown as 13 in Figure 5.1.
  • Summarize: Adds or removes footer values and changes how the footer values are calculated. You can choose a function appropriate for summarizing the data in the report, for example, Total, Maximum, Minimum, Median, Average, Standard Deviation, Variance, Count, Count Distinct, None, as shown as 14 in Figure 5.1. The options available to you are context-sensitive and depend upon the selected item in the report.
  • Format Data: Specifies additional data formatting. The options available vary depending upon the item selected in the report. For numeric values you can specify the category of the item, for example. Currency, Number, Percentage, and Scientific. Depending upon the category you specify, the related additional options such as scale, number of decimal places, and more can be specified.
  • Calculate: Enables you to create calculations, for example, items not already in the database, as shown as 15 in Figure 5.1.
  • Define Custom Groups: Enables you to group columns in the report into other meaningful groupings required by the business for analysis.
  • Drill Down: Displays lower level data in a dimensional report, as shown as 16 in Figure 5.1.
  • Drill Up: Displays higher level data in a dimensional report, as shown as 17 in Figure 5.1.
  • Go To: Displays links to any related target reports; clicking the link takes you to the selected report, as shown as 18 in Figure 5.1.
  • Rename Column Heading: Enables you to change the default column heading.
  • Cut: Enables you to remove the item and hold it in the clipboard, as shown as 5 in Figure 5.1.
  • Paste: Enables you to paste items from the clipboard, as shown as 6 in Figure 5.1.
  • Delete: Enables you to delete the selected item and remove it from the report, as shown as 7 in Figure 5.1.
  • Undo: Enables you to undo your previous action, as shown as 8 in Figure 5.1.
  • Redo: Enables you to redo a change that you undid using Undo, as shown as 9 in Figure 5.1.

Change Layout

The Change Layout menu enables you to enhance the look and feel of the report by adding a title to the report, change fonts and styles, group the data, apply page breaks, and more.

  • Chart: Displays the data in a chart form. You can choose from a variety of chart types, for example, pie, bar, line, gauge, scatter, and more, as shown as 19 in Figure 5.1.
  • Define Conditional Styles: Highlights important information in the report when a business condition is satisfied.
  • Change Font Styles: Formats an object in the report, for example, font, font size, font color, or the font background color, as shown as 29 in Figure 5.1.
  • Change Border Styles: Enables you to format the borders of tables and sections in the report, as shown as 36 in Figure 5.1.
  • Reset Font and Border Styles: Enables you to restore the styles from the template after making a change.
  • Apply Template: Enables you to change the default systemwide Query Studio template to another template and give it a new look. The new template must be created in Report Studio and then used in Query Studio.
  • Edit Title Area: Specifies the title and subtitles for the report.
  • Set Web Page Size: Enables you to specify the number of rows you want to display on the screen.
  • Set Page Breaks: Enables you to specify the page breaks based on a grouped or sectioned column. Each value of the grouped/sectioned column appears on a new page.
  • Group: Groups identical values in a report column together, as shown as 20 in Figure 5.1.
  • Pivot: Creates a Crosstab report using the data in the list report, as shown as 21 in Figure 5.1.
  • Ungroup: Display repeated values in the report by removing the grouping applied via Group option, as shown as 22 in Figure 5.1.
  • Create Sections: Enables you to break the report into different sections based on the column you choose to section on. The column used for creating a section displays as the section header, as shown as 23 in Figure 5.1.
  • Swap Rows and Columns: Changes the existing rows in the report as column values and columns as rows to get another perspective of the same data, as shown as 24 in Figure 5.1.
  • Collapse Group: Temporarily removes progressive levels of detail from the report, as shown as 25 in Figure 5.1.
  • Expand Group: Restores the collapsed levels in the report, as shown as 26 in Figure 5.1.

Run Report

The Run Report menu enables you to specify the report output type, such as PDF, Excel, and more. You can also enable or disable drill up, drill down, and drill through options from here as well as control summary options.

  • Run with All Data: Runs the report using all the data from the data source, as shown as 10 in Figure 5.1
  • Preview with Limited Data: Runs the report using partial data from the data source and works only with relational data source. Rollups are not computed in this mode. Reports based on packages with design filter have improved performance in this mode.
  • Preview with No Data: Runs the report using no data and is typically used during designing the report.
  • View in PDF Format: Enables you to generate the report output in PDF.
  • Specify PDF Options: Enables you to specify the orientation and page size of the PDF report.
  • View in Excel 2007 Format: Enables you to generate reports that you can view in Microsoft Excel 2007.
  • View in Excel 2007 Data Format: Enables you to render the data for a list report to view in Microsoft Excel 2007.
  • View in Excel 2002 Format: Enables you to generate reports that you can view in Microsoft Excel versions earlier than 2007.
  • View in CSV Format: Enables you to view list reports in Comma Separate Values (CSV) format.
  • View in XML Format: Enables you to view the report in XML format.
  • Advanced Options: Provides two runtime options that you can enable or disable via check boxes.

    Query Options:

  • Automatically Generate Footer Summaries for Measure: Turn off the automatic generation of summaries for measures by clearing the check box.
  • Automatically Summarize Detail Values, Suppressing Duplicates: Turn off the automatic suppression of duplicates of detail values by clearing the check box.

    Drill Options:

  • Enable Drill Up and Drill Down in the Report Output: Turn off the drill up and drill down functionality by clearing the check box. By default, drill up and drill down is enabled. This is applicable to dimensional reports only.
  • Enable Drill Through from a Package in the Report Output: Enables or disables navigation to another report for detail information. By default, this option is enabled. You can navigate to another Query Studio report, Report Studio report, Analysis Studio Analysis, IBM Cognos Series 7 cube action, and a Microsoft Analysis action.

Manage File

The Manage File menu enables you to manage your Query Studio report. For example, from here you can open the Query Studio report with Report Studio, save the currently opened report, create a new report, or open an existing report. Some options available here are also available to you from other menu options.

  • New: Enables you to create a new Query Studio report, as shown as 1 in Figure 5.1 on the Standard toolbar.
  • Open: Enables you to open an existing Query Studio report, as shown as 2 in Figure 5.1 on the Standard toolbar.
  • Open in Report Studio: Enables you to open the Query Studio report in Report Studio.
  • Save: Enables you to save the report that you can use later, as shown as 3 on the Standard toolbar in Figure 5.1.
  • Save As: Enables you to save the report with a new name and reuse the work done earlier, as shown as 4 on the Standard toolbar in Figure 5.1.
  • Report Definition: Enables you to troubleshoot report problems. It has two options:

    • Report Definition: Displays the expression for each report item.
    • Query Information: Displays the query information for each report item. Using this option you can view the XML definition of the report; it is useful when troubleshooting with Cognos Support.
  • My Preferences: Enables you to specify the default settings for your session. Changes you make here are valid for your session only and do not impact other users. Use this option to change the settings for the following:

    Default data display:

  • Run with All Data (default)
  • Preview with Limited Data
  • Preview with No Data

    Default template:

  • Apply a template (Select a template)

    Default filter dialog for value selection:

  • Default (default)
  • Pick values from a list
  • Search for values
  • Type in values

    Advanced Run-time Options:

  • Query Options:

    • Automatically generates footer summaries for measures
    • Automatically summarizes detail values, suppressing duplicates
  • Drill Options:

    • Enables drill up and drill down in the report output
    • Enables drill through from a package in the report output

Standard Toolbar Options

The Standard toolbar contains icons for frequently performed actions for easy access. These options are also available via the Menu pane and are discussed there. Standard toolbar options are demonstrated in Figure 5.1.

Options New (shown as 1 in Figure 5.1), Open (shown as 2), Save (shown as 3), Save As (shown as 4), Cut (shown as 5), Paste (shown as 6), Delete (shown as 7), Undo (shown as 8), and Redo (shown as 9), have same functionality as discussed in the section “Menu Pane” earlier in the chapter.

  • Run: Enables you to choose the report output type, for example, HTML, PDF, Excel, CSV, or XML.
  • Filter: Enables you to define a filter for the report to remove unwanted data. You can combine filters to create complex filter conditions using AND and OR operators.
  • Suppress: Enables you to suppress row with Zero values, Divide by zero, Missing values, and Overflow values from the report.
  • Sort: Specifies sort options as ascending or descending.
  • Summarize: Enables you to create summary calculations for selected sets, for example, Sum, Average, Maximum, Minimum, Median, Variance, Standard Deviation, and Count.
  • Calculate: Creates a calculation for one or more columns. Options available depend upon the number of rows (or columns) selected.
  • Drill-Down: Displays lower levels of detail in dimensional reports. You can drill down in the report until you reach the lowest level.
  • Drill-Up: Displays higher levels of detail in dimensional reports. You can use drill up until you reach the highest level in the report.
  • Go To: Enables you to invoke a related Cognos report for further analysis.
  • Chart Type: Enables you to choose a chart type appropriate for your analysis, for example, Column, Bar, Pie, Line, Pareto, Area, Radar, and Point.
  • Group: Enables you to remove duplicate values in the report and display them as a group.
  • Pivot: Creates a Crosstab report.
  • Ungroup: Enables you to ungroup the column you grouped using Group.
  • Create Sections: Enables you to divide the report based on a column on which you create a section. The sectioned column becomes the header and is removed from the list report. A section is created for each distinct value of the sectioned column.
  • Swap Rows and Columns: Changes the existing rows in the analysis as column values and columns as rows to get another perspective of the same data.
  • Collapse Group: Enables you to collapse the detail portions of the report and display only the high-level information. You can collapse only those reports that have a measure and do not have custom groups.
  • Expand Group: Enables you to restore the collapsed information in the report. This option is applicable to reports that have a measure and do not contain custom groups.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020