A data object is a container for reportable information from a source of data. For example, a payroll report may include an Employees data object with census data such as names, addresses and hire dates as well as a Time data object with clock-in and clock-out times for each employee's shift start and end.
When creating a new Advanced Report, data objects will be added to the report with the Add Data Objects dialog, which will appears when launched for the first time.

.
Data Objects Dialog
The Data Objects Dialog consists of two main parts:
Available Data Objects Tree
The data objects tree on the left side of the dialog shows all of the available data objects that can be added to a report. A Search... field at the top of the tree allows searching for data objects by name.

There are two data objects in the Northwind folder of this data
objects tree: Categories and Products
If the system administrator has enabled it, custom SQL statements may be added as a data object in lieu of selecting one of the existing objects. For more information, refer to the Custom SQL Objects section of this article.
Selecting a Data Object from the list and clicking on the View Data
Object Details
icon will display the names of the
fields that are available in that object.

CompanyName, Phone and ShipperID are fields available in the
Shippers data object
Selected Data Objects Panel
The selected data objects panel on the right side of the dialog is where the added data objects appear and is divided into three or four columns depending on system configuration.

Three data objects have been added to this report:
Categories, Products and Orders
icons — click the
Delete
icon
on the corresponding row to remove the data object from the report.
Add, Edit or Delete Data Objects to/from a Report
The Add Data Objects dialog can be recalled at any time by clicking the
Manage Data
Objects button in the Data Objects Pane
Add button at the bottom of
the tree
Add
SQL button to add a custom SQL object to the report. There may not
be any other data objects in the selected data objects panel for this button
to have an effect. For more information, refer to the Custom SQL Objects
section of this article.
icon in the Data Object Name
column to edit it. Only Custom SQL Objects
can be edited from the Add Data Objects dialog.
icon on the corresponding row to
delete a data object,. This removes the data object from the report,
but not from the system configuration. Custom SQL Objects
This is an advanced feature, and the system administrator must enable it for it to be available.
Important
If a Custom SQL
Object is added as a data object to a report, it may be the
only data object on that report.
Custom SQL Objects may only be added to new report, not an existing report.

Custom SQL Object dialog
Writing Custom SQL Objects requires underlying knowledge of the data source architecture and its relevant SQL language.
To add a Custom SQL Object to a report:
Add SQL button in the Add Data
Objects dialog to open the Custom SQL Object dialog.
[ ] { } . , @
CautionORDER BY
clauses are not supported in sub queries. To sort a report with a Custom SQL
Data Object, use the Sorts dialog built-in to the Report
Designer.
Insert Parameter button.
icon to check the SQL statement for validity.
Add button to add a unique
key field to the list.
icon to remove it.
To edit a Custom SQL Object:
Manage
Data Objects button in the Data Objects Pane to open the Add Data
Object dialog.
icon in the Data Object Name column to open
the Custom SQL Object dialog.
Example
The following Custom SQL Object could be used to generate the basic report shown below with order IDs and dates of each order placed by each salesperson in the company in a certain month.
SELECT dbo.[Orders].[OrderID] AS c0, dbo.[Orders].[OrderDate] AS c1, dbo.[Employees].[FirstName] AS c2, dbo.[Employees].[LastName] AS c3, dbo.[Employees].[EmployeeID] AS c4, dbo.[Orders].[EmployeeID] AS c5FROM dbo.[Employees]INNER JOIN dbo.[Orders] ON ( dbo.[Employees].[EmployeeID] = dbo.[Orders].[EmployeeID])WHERE Month(dbo.[Orders].[OrderDate]) = 7

Handling Duplicate Values
Causes of Duplicate Values
Be judicious when adding data objects. If the report has unexpected duplicate values or empty rows, the cause is most likely there is a one-to-many join to an object not being used.
Resolving Duplicate Values
Consider a report that lists the students that are advised by professors at a college. This requires the Professors and Students data objects, which have a one-to-many relationship as one professor may advise several students. Adding fields from both of these data objects to a report will result in duplicate data.

Sample report design

Sample report output
There are a few ways to handle situations like this.
1. Utilize Group Sections
Group Header sections and Group Footer sections can be used to display data from the "one" side of a "one-to-many" relationship. For reports that show several one-to-many relationships, consider using Repeating Groups.
This feature checks unique keys in the data objects so that a professor only appears once on the report. Since each professor is identified with a unique key in the data source, even if there is a professor with the same name, they will appear since they are not the same professor.

The sample report layout has been updated to include a Group Header section on the professor's last name

The effect of this change is that all advisees are now listed under the heading of each professor's name
2. Apply Hide Repeated Values to the Data Objects
The Hide Repeated Values checkbox in the Manage Data Objects dialog will hide any data from a duplicated record from appearing on the report. This is a visibility change only—there is no change to aggregation, SQL generation or the number of rows returned from the data source.
This feature does not check unique keys in the data objects, it looks at only the values displayed in the cells. Caution should be exercised when using this method if there could be unique duplicate data. For example, if there is another professor named Joyce Anderson, that professor's name would not appear on the report output.

Hide Repeated Values is enabled for the
Professors data object in the sample report
For illustrative purposes, the professor's first and last names now appear in their own cells in the report design

Any time a duplicate value comes up for a
Professors record, all of the fields for that record are
removed from the report. Therefore, both the first and last names do not appear
more than once for each professor
3. Apply Hide Repeated Values to a Cell
The Hide Repeated Values
icon on the toolbar will suppress only
the value in the cell it is applied to if the previous value is the same. This
is a visibility change only—there is no change to aggregation, SQL generation or
the number of rows returned from the data source.
This feature does not check unique keys in the data objects, it looks at only the value displayed in the cell. Caution should be exercised when using this method if there could be unique duplicate data. For example, if there is another professor with last name Anderson, that professor's name would not appear on the report list.

This report has the Hide Repeated Values feature enabled only on the professor's last name cell, so when the previous row has the same last name, it is hidden from the report

Since the cells where the duplicates have been removed are empty, this can be tested for with a conditional formatting formula for other report manipulation.
4. Address the Data Model
If still seeing duplicates after trying the above options, it is likely a result of a Cartesian product. Consider: