Create a Workbook

Updated at:
Copy as MD

Workbooks are available only in Quick BI Pro and Professional Edition group spaces.

Prerequisites

You have created a dataset. For more information, see Create a Dataset.

Access

Log in to the or the international Quick BI console. Create a workbook from the Workbench using any of the following methods:

  • Method 1: Quick-create from the external resource entry

    image

  • Method 2: Quick-create from the workspace resource list

    image

  • Method 3: Create from the workspace workbook module

    image

    Methods 1–3 do not preselect a dataset. Select one on the editing page. image.png

  • Method 4: Create from the dataset list

    image

  • Method 5: Create from the Dataset Editing page

    image

    With Methods 4 or 5, the data panel automatically loads dimensions and measures from the selected dataset. Drag them to the field area. image.png

Data Configuration

The following example uses Method 1.

Insert a Dataset Table

  1. On the workbook editing page, click Dataset > Dataset Table on the toolbar.image

  2. In the Data pane, click Select Dataset and choose a dataset. The fields sync to the Dimensions and Measures areas.image

  3. On the Field tab, select a display mode for the dataset table: Aggregation or Detail.

    • Aggregation: Aggregates the values of measure fields based on dimensions. For example, you can sum the order amounts by region to display the total sales for each region.image

    • Detail: Displays each record from the raw data without any aggregation. For example, you can show each individual order amount for every region.image

  1. Select the required dimension and measure fields to add data to the workbook.

    In Aggregation mode, configure fields using one of these methods:

    • Method 1: Add dimension fields to the Rows area and measure fields to the Columns area.

      1. On the Field tab, select the required dimension and measure fields:

        • In the Dimensions list, double-click or drag Province, Product Type, and Product Package to the Rows area.

        • From the Measures list, double-click or drag Order Amount, Shipping Cost, and Profit Amount to the Columns area.

      2. Click Update. The workbook automatically updates.image.png

    • Method 2: Add dimension fields to the Rows area and both measure and dimension fields to the Columns area.

      1. On the Field tab, select the required dimension and measure fields:

        • From the Dimensions list, double-click or drag Province to the Rows area.

        • From the Dimensions list, drag Product Type to the Columns area.

        • From the Measures list, double-click or drag Order Amount, Shipping Cost, and Profit Amount to the Columns area.

      2. Click Update. The workbook updates automatically.image.png

    • Method 3: Add measure fields to the Rows area and dimension fields to the Columns area.

      1. On the Field tab, select the required dimension and measure fields:

        • Drag Product Type from the Dimensions list to the Columns area.

        • From the Measures list, drag Order Amount, Shipping Cost, and Profit Amount to the Rows area.

      2. Click Update. The workbook updates automatically.image.png

    In Detail mode, dimension and measure fields are intermixed. Drag fields to reorder them.111

  2. Configure the format of the fields.

    Configuration item

    Description

    Date display format

    Default: Auto. Supported formats include YYYY-MM-DD, YYYYMMDD, YYYY/MM/DD, YYYY Year M Month D Day, MMDD, MM-DD, MM/DD, M Month D Day, and DDMMYYYY.

    Note

    You can set the date display format only for date fields.

    Alignment

    Default: Auto. Supported alignments: Align Left, Align Center, and Align Right.

    Sort

    Default: No sorting. Supported options: Ascending, Descending, Ascending within Group, Descending within Group, Advanced Sort, Custom Sort, and Field Sort.

    Note
    • Advanced sort is supported only for measure fields.

    • Custom sort and field sort are supported only for dimension fields.

    Field display content

    Set a display name.

    Data display format

    Default: Auto. Supported formats: Integer, 1 decimal place, 2 decimal places, Percentage, Percentage with 1 decimal place, Percentage with 2 decimal places, and Custom.

    Note
    • You can set the data display format only for measure fields.

    • If you select Custom and set the format type to Numeric or Percentage, you can set the format for negative numbers to -1234 or (1234). You can also select Use thousands separator.

    Aggregation method

    Supported methods: Sum, Average, Count, Distinct Count, Maximum, Minimum, Population Standard Deviation, Sample Standard Deviation, Population Variance, Sample Variance, and Last Day.

    Note

    You can set the data display format for measure fields only.

    Advanced calculation

    Configure Date Accumulation, Percentage, Ranking, and YoY and MoM Comparison.

    Note

    You can set advanced calculations only for measure fields.

    Null value display style

    • Dimension fields support setting the display style for null values or empty strings.

      • Null value:

        • Auto: Follows the dataset configuration.

        • Display as '-'

        • Display as '{Empty}'

        • Display as 'null'

        • Custom

      • String:

        • Auto: Follows the dataset configuration.

        • Display as '-'

        • Display as '{Empty String}'

        • Display as 'null'

        • Custom

    • Measure fields support setting the display style for null values.

    Note

    Custom null values can contain only letters, numbers, underscores (_), slashes (/), backslashes (\), vertical bars (|), parentheses (()), and brackets ([]), and must be no more than 150 characters long.

  3. To filter data, drag a field to the Filters area and click the Filter icon to configure it. Field filtering.

  4. Click Save.

    Note

    The Save Workbook dialog box appears only the first time you save a workbook.

    Name

    Description

    Name

    The name of the workbook.

    Location

    The location where the workbook is stored.

  5. Click OK to create the workbook.

    Note

    Workbooks support Excel-like auto-sum. Select data cells to view the sum.

    image

Insert Freestyle Cells

Note

Freestyle cells require a separate add-on for Quick BI Professional Edition and Premium Edition.

  1. (Optional) Set up the report format for your business scenario before inserting freestyle cells.image

  2. Note

    Merge cells before dragging fields. You cannot merge cells after fields are added.

  3. On the workbook editing page, click ① Dataset > ② Freestyle Cell.image

  4. In the data pane, click Select Dataset and choose a dataset.

  5. Select dimension and measure fields, then double-click or drag them to the editing area.image

  6. Configure the Aggregation Method, Advanced Calculation, Association, and Delete settings for fields.

    1. Hover over the left side of a measure and click the image icon to open the Aggregation Method settings.

    2. Measure fields support multiple aggregation methods, such as sum, average, count, distinct count, maximum, and minimum.image

    3. Hover over the left side of a measure and click the image icon to open the Advanced Calculation settings.

    4. Advanced calculations support date accumulation, percentage, ranking, and year-over-year (YoY) and month-over-month (MoM) comparisons.

      image

      Configuration item

      Description

      Date accumulation

      Calculates the sum from the start date to the current date. Date accumulation.

      Percentage

      Set the percentage format.

      Ranking

      Supports ascending or descending order. Data ranking.

      YoY and MoM comparison

      Set YoY and MoM comparisons. YoY and MoM comparison.

    5. You can set associations for fields.image

      • Click Associate to enter Association Mode.

      • Hover over the Confirm Association button to switch between Aggregation and Detail data.image

      • Click Confirm Association. The association is created. In this example, Order Date (year) is associated with Order Quantity, Order Amount, and Profit Amount.

      • You can also click Cancel Association to remove the association.image

    6. You can delete unnecessary fields.image

      Note
      • For dimension fields, you can set associations or delete them.

      • For measure fields, you can set aggregation methods, set associations, or delete them.

  7. (Optional) Based on your business scenario, you can add query controls. In this example, two query conditions are added: Year and Region.image

  8. Click Update to refresh the workbook.

  9. Click Save.

  10. Create a card view.

Card View

Use card views to create split-column reports and indicator cards in visual analytics reports.

Note

Card view requires a separate add-on for Professional Edition and Pro workbooks.

Entry point

  • In freestyle cell mode, the toolbar displays the card view feature icon.

  • Procedure

    1. Click Card View to enter the card view creation page. image

    2. Create a card view. image

      1. Select the base table for the card view and create constraints for the card view.

        1. You can create a card view first and then manually select the data area.

        2. Alternatively, select the data area first and then create a card view.

          Note

          Fields from different datasets cannot be associated.

      2. Configure card display settings: groups per row and maximum groups shown.

      3. Choose the calculation method, either aggregation or detail.

      4. Select the location for the pivot table, either as a new Create Card View Page or as an extension on the Current Sheet.

        In this example, select Create Card View Page.

    3. Click OK.

    4. Configure the card page view. With Create Card View Page selected, adjust groups per row, filters, groupings, sorting, and enable detail viewing and searching. image

What to do next

To configure workbook styles and analysis settings, see Style Configuration and Analysis Configuration.