- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working-with-Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Developer Guide
Create Tabular Report
In tabular reports, the data is organized along the rows and columns of a Table data region. The data in the form of fields and entities are fetched from the data set added to the report.
The following videos demonstrate how to create a tabular report and organize data using grouping and sorting features.
Create Tabular Report
In this video, we will create a tabular product sales report.
Grouping and Sorting in Tabular Report
In this video, we’ll organize a tabular report using grouping and sorting features.
The following tutorial guides you through the steps to create a tabular report in Wyn Enterprise Report Designer.
What You Will Learn in This Tutorial
Note: This tutorial uses sample CustomerOrders data set.
After you complete this tutorial, you will have a report that looks similar to the following.
Create Databound Table
To create a databound table,
Go to the Data tab and click the drop-down next to the CustomerOrders data set. You can now see all the available fields in the data set.
Enable Select Fields... and then choose the desired fields required in the table.
Drag-drop the selected fields onto the design area. A table with its column bound to the fields is created. You can see the Header row and Details row of the table are automatically filled with the data.
Alternatively, you can first drag-drop the Table data region onto the design area of the report and then populate the data by dragging and dropping the fields onto the details row.
Re-arrange the columns in the table as shown in the following image.
Note: The Data Set Name property of the table is automatically set to CustomerOrders.
Sort Table Data
You can sort the table data of any field in ascending or descending order. Let us sort our table data by Price field in descending order.
From the adorner on the right side of the table, select <Details Group> and go to the Sort Expressions property.
Click Show Items and then select Add Item.
Click the radio button to display the fields and select the Price field to sort the table by price.
Note: You can also enter a sort expression in the Expression Editor: Data - Sort Expressions dialog by selecting Expression...
By default, fields are sorted in ascending order. You can change the sort order to descending by clicking the descending icon.
Add Page Header
Go to the Report tab on top of the designer and select Add Header option.
Drag and drop a TextBox control in the page header area.
Click inside the text box and enter the text 'Customer Orders Report'.
Customize Appearance of Tabular Report
Note: You may need to resize and reposition the controls on the report to accommodate data, and for a cleaner look.
Set the BACKGROUND - Color property for the page header and header row of the table to '#f1f1f1'.
Align the text in the textboxes using the TEXT - Text Align (Left, Right, Center, and Justify.) and TEXT - Vertical Text Align (Top, Middle, or Bottom) properties. By default, these properties are set to General and Top.
Set the font size for the text in the page header to '14pt' using the TEXT - Font Size property.
Specify the border properties for the textboxes in the table using the BORDER - Width, Border - Style, and BORDER - Color properties. Set the border values to '0.25pt', 'Solid', and '#f1f1f1', respectively.
Change the TEXT - Format property for the Price field to 'Currency'. This property displays the price values in currency format.
Preview and Save Report
Click Preview to view the final output of your report.
Exit the preview mode by clicking Back on the left side of the designer.
Click Save to open the Save dialog box. Enter the report name and click Save Report.