×

Methods and systems for selectively retrieving data to provide a limited dataset for incorporation into a pivot table

  • US 10,114,867 B2
  • Filed: 05/29/2015
  • Issued: 10/30/2018
  • Est. Priority Date: 05/29/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for selectively retrieving data from an initial dataset in a relational database to provide a limited dataset for incorporation into a pivot table, the method comprising the following steps performed by one or more computer processors of a computer:

  • a. receiving in a user interface to a database application program executing in the computer, a designation of a grouping column in the initial dataset, wherein the grouping column comprises one or more groups of grouping values;

    b. receiving in the user interface a designation of a partition column in the initial dataset, wherein the partition column comprises one or more partition values;

    c. receiving in the user interface a designation of an ordering column in the initial dataset, wherein the ordering column comprises one or more ordering values, and wherein the initial dataset comprises one or more rows, wherein each row comprises a corresponding grouping value, a corresponding partition value, and a corresponding ordering value;

    d. receiving in the user interface a designation of a specific partition value;

    e. identifying rows in the initial dataset which comprise the specific partition value;

    f. selecting the rows that include the specific partition value, and limiting the selected rows based on a ranking of the corresponding ordering value of each selected row to provide a limited set of rows;

    g. expanding the limited set of rows to include all rows that share grouping values in common with the grouping values of the limited set of rows to provide the limited dataset;

    h. retrieving from memory, a designated row limit, and on condition that a number of rows in the expanded ones of the limited ones of the selected rows exceed the row limit, reducing a number of rows in the expanded ones of the limited ones of the selected rows to cause the number of rows to meet the designated row limit, but on condition that the number of rows in expanded ones of the limited ones of the selected rows falls short of the row limit, inserting additional rows of a different partition value into the expanded ones of the limited ones of the selected rows until the number of rows is equivalent to the designated row limit;

    i. inserting the expanded ones of the limited ones of the selected rows into a pivot table comprising a row for each distinct grouping value and a column for each distinct partition value in the limited data set, wherein each distinct grouping value and each distinct partition value forms a distinct grouping value-partition value pair that defines a unique cell in the pivot table and corresponds to a distinct row of the limited dataset, by populating each cell defined by each distinct grouping value-partition value pair with the corresponding ordering value from each distinct row in the limited dataset, and,j. displaying the pivot table in the user interface to the database application program.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×