Worksheets

Worksheets are flat tables created by joining columns from a set of one or more tables or imported datasets.

After modeling your data, create worksheets to make searching easier. For example, a sales executive might need to search for information about retail sales. This data might be contained in several tables (sales, customers, products, stores, and so on), with foreign key relationships between them. An administrator who is familiar with the data model can create a retail sales worksheet, that combines all of the related fact and dimension tables into a single, easy-to-use view, and share it with the sales executive. This provides access to the data without requiring an understanding of how it is structured.

Guidelines for worksheets

Users are often unfamiliar with tables and how they are related to one another. A worksheet groups multiple related tables together in a logical way. You might use a worksheet for these reasons:

  • To pre-join multiple tables together.

  • To give a user or group access to only part of the underlying data.

  • To include a derived column using a formula.

  • To rename columns to make the data easier to search.

  • To build in a specific filter or aggregation.

  • To give users a filtered set of data to search.

Typically, you create one worksheet for each set of fact and dimension tables. For example, you may have a sales fact table and an inventory fact table. Each of these fact tables shares common dimensions like date, region, and store. In this scenario, you would create two worksheets: sales and inventory. The following diagram depicts the workflow for creating the sales worksheet.

workflow create worksheet

The process for creating a worksheet is:

  1. Decide which tables to use for the worksheet.

  2. Create a worksheet. If the worksheet already exists in another cluster, you can migrate it using a flat TML file.

  3. Add sources (tables) to the worksheet.

  4. Choose the worksheet join rule.

  5. Select the columns to include.

  6. Optionally modify the join types within the worksheet.

  7. Optionally Create a formula in a worksheet.

  8. Optionally create worksheet filters.

  9. Save the worksheet.

  10. Share the worksheet with groups or users.