1. A method for modeling tabular data with mixed column and pivot table layout, the method comprising: receiving tabular data containing a set of columns and rows, from a data source, wherein columns in the set of columns contain a category label and metric data; determining, for one or more columns in the set of columns, a corresponding metric type; identifying grouped and ungrouped columns in the set of columns, wherein grouped columns comprise one or more pivot type columns, wherein a pivot type column corresponds to a column sharing a metric data type with an adjacent column, and wherein ungrouped columns comprise one or more columnar format columns, wherein a columnar format column corresponds to a column having unique metric types compared to adjacent columns; generating a table comprising a first sub-table and a second sub-table, wherein the first sub-table comprises the tabular data of the ungrouped columns and the second sub-table comprises the tabular data of the grouped columns; and identifying n columns, wherein n is a number of columns in the identified grouped columns; identifying m rows, wherein m is a number of rows of metric data in the identified ungrouped columns; and generating the first sub-table comprising (n×m)+1 rows, the (n×m)+1 rows, wherein the first sub-table is populated with the category labels and the metric data of the ungrouped columns, and wherein the metric data of the ungrouped columns is repeated n times.
1. A method for modeling tabular data with mixed column and pivot table layout, the method comprising: receiving tabular data containing a set of columns and rows, from a data source, wherein columns in the set of columns contain a category label and metric data; determining, for one or more columns in the set of columns, a corresponding metric type; identifying grouped and ungrouped columns in the set of columns, wherein grouped columns comprise one or more pivot type columns, wherein a pivot type column corresponds to a column sharing a metric data type with an adjacent column, and wherein ungrouped columns comprise one or more columnar format columns, wherein a columnar format column corresponds to a column having unique metric types compared to adjacent columns; generating a table comprising a first sub-table and a second sub-table, wherein the first sub-table comprises the tabular data of the ungrouped columns and the second sub-table comprises the tabular data of the grouped columns; and identifying n columns, wherein n is a number of columns in the identified grouped columns; identifying m rows, wherein m is a number of rows of metric data in the identified ungrouped columns; and generating the first sub-table comprising (n×m)+1 rows, the (n×m)+1 rows, wherein the first sub-table is populated with the category labels and the metric data of the ungrouped columns, and wherein the metric data of the ungrouped columns is repeated n times. 3. The method of claim 1 , wherein the generated table comprises (n×m)+1 rows.