Format and Import Financial Data
This topic discusses the best way to import financial data for analysis in Adobe Commerce Intelligence.
A two-dimensional, cross-tab data table is often the format used for financial data. With values categorized by labels in both columns and rows, this type of layout might be easy to view with human eyes and spreadsheet tools, but it is not friendly to databases.
To import and analyze this data in Commerce Intelligence, the table must be flattened into a one-dimensional list. When flattened, each data value is categorized by multiple labels that are all in a single row, where each row is unique or would have a unique identifier, for example a primary key column.
Formatting Excel files for Import
To flatten a two-dimensional table using an Excel pivot table:
- Open the file with the two-dimensional data table.
- Open the PivotTable Wizard. In Windows, the shortcut is
Alt-D
. In Mac OS, enterCommand-Option-P
. - Select Multiple consolidated ranges and click Next.
- Select I will create the page fields and click Next.
- Select the entire data set in the two-dimensional table, including the labels. Ensure that
0
is selected for the number of desired page fields and click Next. - Create the pivot table in a new sheet and click Finish.
- Deselect the column and row fields from the field list.
- Double-click the resulting numerical value to show the flattened source data in a new sheet.
- Save as a
CSV
file.
Wrapping Up
The data table has been converted to a list format, preserving all of its original information, and can now be imported to Commerce Intelligence for analysis.