General Report Design

General Report Design

General statements: our previous decision system to other system offers many reports, view the sales of goods, but that each additional indicators or dimensions need to be modified to achieve code

So we want to provide a reporting module that enables visualization of data metrics configuration, dimensions, configuration, filter configuration.

Because this data shows is the need for back-end data index calculated (for example: psd = Sales / dealer for several days), so it is necessary to show the front-end and back-end data indicators index split.

In order to solve these problems, we abstract the concept of a data source: display indicators, data indicators index and data mapping relationship indicators, support the dimensions of the filter support, data source name to a class collection of these attributes.

 

Front-end can get support all the report name, and then get the data sources supported by the filter according to the report name, dimensions, metrics

Check the filter you want to use front-end, showing metrics, dimensions; mapped to the actual data from the data source to be assembled index query parameters

durid-io query interface to provide the requested data group of students, access to query results.

The combined index, the query out to demonstrate the merging of data indicators index

The data are grouped by the dimensions and format data.

Guess you like

Origin www.cnblogs.com/zhangchiblog/p/11897135.html