{"id":3463,"date":"2016-05-26T03:00:07","date_gmt":"2016-05-25T19:00:07","guid":{"rendered":"http:\/\/www.finereport.com\/en\/?p=3463"},"modified":"2019-10-24T14:47:25","modified_gmt":"2019-10-24T06:47:25","slug":"finereport-row-based-report-data-scale-up","status":"publish","type":"post","link":"https:\/\/frg.fineres.com\/en\/2016\/05\/26\/finereport-row-based-report-data-scale-up\/","title":{"rendered":"FineReport Row-based Report &#8211; Data Scale Up"},"content":{"rendered":"<p>We will introduce Row-based Report &#8211; Data Scale Up of FineReport <a title=\"reporting software\" href=\"\/en\/\" target=\"_blank\"><span style=\"color: blue;\">reporting software<\/span><\/a> in this article.The section describes the realization process of a row-based report to show data extension.<\/p>\n<h3>1. Description<\/h3>\n<p>A row-based report is a list-like schedule as the most common and simplest report style, as shown below:<\/p>\n<p><img src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201652501.png\" alt=\"\" \/><\/p>\n<p>A row-based report uses the vertical extension attribute of a report to show a list-like table. The section describes the realization process of a row-based report to show data extension.<\/p>\n<h3>2. Creating steps<\/h3>\n<p><strong>2.1 Prepare data<\/strong><\/p>\n<p>Data is prepared by two steps: preparing <a href=\"http:\/\/enhelp.finereport.com\/category-view-46.html\" target=\"_blank\"><span style=\"color: blue;\">data connection<\/span><\/a> and <span style=\"color: blue;\">data set<\/span> A data connection called FRDemo will be built in when installing the exe of FineReport; it is connected to Sqlite database of WebReport under the project. All subsequent sample data in the document are sourced from the database.<\/p>\n<p>After connection to database FRDemo, the built-in database table order is used to make an order list.<br \/>\nCreate a new workbook and add data set ds1 with SQL statement <span style=\"color: purple;\">SELECT * FROM ORDER<\/span>.<\/p>\n<p><strong>2.2 Design templates<\/strong><\/p>\n<p>Design sample table according to actual conditions, as shown below:<\/p>\n<p><img src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201652502.png\" alt=\"\" \/><\/p>\n<p>Based on the field header in the sample table, drag fields in the data set to corresponding cells, as shown below:<\/p>\n<p><img loading=\"lazy\" class=\"\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201652503.png\" alt=\"\" width=\"777\" height=\"106\" \/><\/p>\n<p>FineReport data is displayed in three modes: List, grouping and summary.<\/p>\n<p><img src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201652504.png\" alt=\"\" \/><\/p>\n<p><strong>List:<\/strong> As the above effect graph shows, data is displayed in a list format without any grouping;<\/p>\n<p><strong>Grouping:<\/strong> It means the rear cell will filter and group data based on the data in the front cell and display the data after combination of duplicates;<\/p>\n<p><strong>Summary:<\/strong> It means the cell data will be calculated, summarizing sum, average, maximum, minimum and number, for cells with value-type fields only.<\/p>\n<p><span style=\"color: red;\">Note: Data is displayed by groups by default. For the effect style of each mode, refer to <a href=\"http:\/\/enhelp.finereport.com\/doc-view-151.html\" target=\"_blank\"><span style=\"color: blue;\">Data Display Mode<\/span><\/a>.<\/span><\/p>\n<p>As the effect graph shows, the row-based report is displayed in a list format, so it is necessary to set the data display mode of field Order ID as List.<\/p>\n<p><span style=\"color: red;\">Note: It is only necessary that the display mode of Order ID in the leftmost cell is set as List, as described in  <span style=\"color: blue;\">Parent-Child Cell<\/span>. As a cell will take, by default, a vertical extension cell adjacent on the left as its parent cell, A2 is the parent cell of B2, B2 is the parent cell of C2 and so on. By data transfer, it is visible that the parent cell of all cells is cell A2 of Order ID, so it is only necessary to set the display mode of A2 as List and the other cells will follow the same display mode.<\/span><\/p>\n<p>As Freight Charge in the database is in decimal format, the data format may be set to keep two decimal places for the sake of neatness. Select cell F2, choose <span style=\"color: purple;\">Cell Attribute Table &#8211; Style<\/span> in the Cell Attribute Table at the lower right corner, select Digit in Format and set it to keep two decimal places, as shown below:<\/p>\n<p><img loading=\"lazy\" class=\"\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201652505.png\" alt=\"\" width=\"752\" height=\"305\" \/><\/p>\n<p>For details about cell style, refer to Data Display Style<\/p>\n<p><strong>2.3 Save and issue reports<\/strong><\/p>\n<p>For completed templates, refer to <span style=\"color: blue;\">%FR_HOME%\\WebReport\\WEB-INF\\reportlets\\doc\\Primary\\DetailReport\\Details.cpt<\/span>.<\/p>\n<p>Click <a href=\"http:\/\/www.finereporthelp.com:8889\/demo\/ReportServer?reportlet=doc\/Primary\/DetailReport\/Details.cpt\" target=\"_blank\"><span style=\"color: blue;\">Details.cpt.<\/span><\/a>to check template effect online.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We will introduce Row-based Report &#8211; Data Scale U&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[111],"tags":[117],"_links":{"self":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/3463"}],"collection":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/comments?post=3463"}],"version-history":[{"count":7,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/3463\/revisions"}],"predecessor-version":[{"id":8470,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/posts\/3463\/revisions\/8470"}],"wp:attachment":[{"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/media?parent=3463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/categories?post=3463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frg.fineres.com\/en\/wp-json\/wp\/v2\/tags?post=3463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}