The invention provides a real-time perspective table generation method and
system based on dynamic dimension constraint in the technical field of perspective table generation, and the method comprises the steps: S1, reading dimension data and index data from a
database, and displaying the dimension data and the index data in a
tree structure in a
data source region; s2, dragging the dimension data or the index data of the
data source area to a
data display area for display; s3, carrying out attribute configuration on the dimension data and the index data in the
data display area; s4, performing
data analysis operation on the dimension data and the index data in the
data display area to obtain a
data analysis result; s5, configuring the operation authority of the perspective table; and step S6, rendering the dimension data, the index data and the
data analysis result in the data display area by the perspective table configuration interface, and outputting and displaying the generated perspective table. The method has the advantages that the efficiency, the flexibility and the real-time performance of perspective table generation are greatly improved.