Method and terminal for hierarchically summarizing reports
A report and terminal technology, applied in the field of reports, can solve the problems of complex algorithms, inability to define hierarchical summary reports, and difficulty in abstraction, so as to improve query efficiency, improve readability and maintainability, and reduce database load.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] Please refer to figure 1 , Figure 3 to Figure 9 , a method for grading and summarizing reports, comprising the steps of:
[0079] S1. Set the SQL expression and various dimension combinations of the report.
[0080] Wherein, the SQL expression for setting the report includes:
[0081] Set the SQL expression of the report, and add condition variables in the SQL expression.
[0082] Specifically, please refer to Figure 3 to Figure 5 , use the custom report designer to define a multi-dimensional free combination report, you need to define the SQL expression, report display layout and report data set, among them, set the data model and SQL expression of the summary table, add condition variables in the expression, and In this example, the condition variables are ${BEGINDATE} and ${ENDDATE};
[0083] Please refer to Image 6 with Figure 7 , set the basic attributes of the report, and associate the report with the data model of the summary table, and set the hierarc...
Embodiment 2
[0109] Please refer to figure 2 , a terminal for grading and summarizing reports, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the report of Embodiment 1 is realized Steps in the method of hierarchical summarization.
[0110] To sum up, the method and terminal for hierarchical summarization of reports provided by the present invention pre-set the SQL expression of the hierarchical summary report and the combination of various dimensions that need to be displayed; receive a report query request, and substitute the query conditions of the query request into Get the first-level summary statement after the expression, and calculate the hash value of the first-level summary statement, which can correspond the first-level summary statement with the hash value one by one. When setting the SQL expression, add a condition variable to the expression , substituting the query...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


