Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of a pivot table widget:

pivot table.pngImage RemovedImage Added

How to Create a Pivot Widget

...

  1. Navigate to Widgets on the MSPbots app menu.
    1.jpgImage RemovedImage Added
  2. On the Widgets tab, click My Widgets.My_Widgets.jpgImage Removed
    Image Added
  3. Next, click the New Widget button.
    New Widget button.jpgImage RemovedImage Added
  4. Select the Pivot Table widget type on the New Widget window
    Pivot.jpgImage RemovedImage Added
  5. When the Widget Builder window opens, click Info on the menu. 
    widget builder info.jpgImage RemovedImage Added
  6. Provide the following under Basic Setting.
    • Name - Give the widget a name.
    • Description - Give the widget a short description.
    • Role - Select or edit the roles that will have access to the widget. The roles selected by default are Admin, User, and Dashboard Only.basic_setting.jpgImage Removed
      Image Added
  7. Click Apply when done. 
    apply basic_setting.jpgImage RemovedImage Added???
  8. Next, go to Dataset on the menu. 
    widget builder dataset.jpgImage RemovedImage Added
  9. Under Data Source, click the Image Removed button Image Added button.
    add dataset button.jpgImage RemovedImage Added
  10. Select New Layer when the Add New Layer window opens. This action will bring up the Dataset window.
    add new_layer.jpgImage RemovedImage Added
  11. On the Dataset window,
    1. Select the Dataset containing the information you want to use. You can also give a name for the Datasource (optional).
      dataset name.jpgImage RemovedImage Added
    2. For Columns Display,
      1. Go to the Column Name dropdown and select the field you want to show in the drill-through. column name (1).jpgImage Removed
        Image Added
        Click Image Removed Image Added to add more rows. 
        add rows.jpgImage RemovedImage Added
      2. Give the column an Alias and select a Business Type for it. Do this for every row that you create.
        alias_bus_name (1).jpgImage RemovedImage Added
      3. If the selected Business Type is Number, read the article Options for Custom Formatting in Your Widgets and Dashboards for help with formatting numbers in your widgets. 
    3. For Filter,
      1. Anchor
        c.i
        c.i
        Click the Image Removed Image Added button and choose between Add Condition and Add Group.
        add condition_group.jpgImage RemovedImage Added
      2. Select a filter from the first dropdown list. 
        filter.jpgImage Removed
        Image Added
      3. Anchor
        c.iii
        c.iii
        Next, set a condition or logic for each field using the next two dropdowns. Refer to the article What Filter Conditions and Formats are Available for Creating Widgets for the descriptions of each condition.
        select_condition.jpgImage RemovedImage Added
      4. Repeat Steps 11c.3.1i to 11c.3.3iii to add more conditions. 
      5. When you have added all the conditions you need, select the logical operator AND or OR for the filter group.
        logical operator.jpgImage RemovedImage Added
    4. (Optional)For Measure,
      1. Click the Image Removed Image Added button to show the Measure window.
        add measure.jpgImage RemovedImage Added
      2. On the Measure window, select a Summary Type.
      3. Select a Field to use in the computation.
      4. Enter an Alias for the measure.
      5. Select a Format Type.
      6. Then click Add.
        measure window.jpgImage RemovedImage Added
    5. (Optional)For Dimensions,
      1. Click the Image Removed buttonImage Added button
        dimension.jpgImage RemovedImage Added
      2. Click on Fields and select an option for grouping the data.
      3. Next, enter an Alias for the measure.
      4. Select a Format Type.
      5. Then click Add.
        dimension fields.jpgImage RemovedImage Added
    6. (Optional)For DrillThrough Order By,
      1. Click the Image Removed Image Added button. 
        drill-through.jpgImage RemovedImage Added
      2. Select a parameter to automatically sort data according to your selection.
        image-2023-5-8_11-28-31.pngImage RemovedImage Added
    7. (Optional)For Order By,
      1. Click the Image Removed Image Addedbutton. 
        OrderBy.jpgImage RemovedImage Added
      2. Select a parameter to sort the data based on your selected field. image-2023-5-8_11-29-53.pngImage Removed
        Image Added
    8. (Optional)Next, select a Row Limit to set a limit to the number of rows on your widget. 
      row limit.jpgImage RemovedImage Added
    9. (Optional)Tick the checkbox for Remove duplicate data to delete duplicate data based on your set conditions. 
      remove duplicate.jpgImage RemovedImage Added
    10. (Optional)Then select an option from the Materialized dropdown to materialize data based on the actual conditions.
      materialized.jpgImage RemovedImage Added
    11. Click Save to keep the configuration.
  12. Tip

    Other optional settings:
    The following options are also available on the Dataset tab. When applied, these two settings reflect on the pivot table instead of the drill-down

    • Order By - Sorts the data based on the selected field. 
    • Row Limit - Sets a limit to the number of rows that appear on the widget.  
    image2022-9-19_20-53-47.pngImage Removed

    Image Added
    After adjusting the settings for these, click Apply to save the setup.

    Move on to Config on the menu. 
    Config.jpgImage RemovedImage Added
    Do the following: 
    1. Widget Type - You can switch this widget to different widget types. If you want to learn more, please refer to How to Switch Widget Types.
    2. Show Grouping Bar - This is the toggle for hiding or showing the row fields, column fields, value fields, and filter fields in the pivot table.
      • When turned on, it will display the row fields, column fields, value fields, and filter fields. 

      • When turned off, it will not display them.
        Show Grouping Bar.gifImage RemovedImage Added

    3. Collapse Fields

      • When this toggle is turned on, all column fields in the table will be expanded when you open the widget. 

      • When it is turned off, collapsible column fields will be collapsed when you open the widget, and only non-collapsible column fields will be displayed.
        Collapse Fields.gifImage RemovedImage Added

    4. For Empty Cells Show Zero
      • When this toggle is turned on, empty values will be displayed as 0.
      • When it is turned off, empty values will be displayed as blank.
        For Empty Cells Show Zero.gifImage RemovedImage Added
    5. Click on theImage Removed located Image Added located at the top right corner of the Preview page to access the Field List pop-up.
      show field list.jpgImage RemovedImage Added
      1. The fields listed under "All Fields" are sourced from the fields set in the Data Source. Please check the fields you want to display in the pivot table under "All Fields". These fields will be automatically displayed in the Filters, Columns, Rows, or Values section respectively.
      2. If you want to adjust the position of each field, drag theImage Removed in Image Addedin front of each field. Place the mouse cursor over it until the cursor icon changes to Drag, then drag the field to the area where you want it to be displayed.
      3. Click Apply.
        Field List.jpgImage RemovedImage Added
    6. In the action column above the pivot table, you can edit the format of the table. 
      1. Clicking on table button.pngImage Removed the Image Added the Show table button displays the pivot table in table style.
      2. Clicking on column button.pngImage Removed to Image Added to switch the widget to another type.

        1. Column

        2. Bar

        3. Line

        4. Area

        5. Scatter

        6. Polar

        7. If none of the above chart types meet your needs, please click "More" and set the chart type you need in the "Chart Type" within the Chart Type Settings.
          More.jpgImage RemovedImage Added

        8. Multiple Axis: If selected, you can configure the "Multiple Axis Mode" with options such as "Stacked" or "Single".

        9. Show Legand: If checked, the pivot table is displayed as a line chart. Clicking on "Show table" button allows you to return to table style.
          chart type settings.jpgImage RemovedImage Added

      3. Click on pdf button.jpgImage Removed Image Addedto export the table as PDF, Excel or CSV format.pdf.jpgImage Removed
        Image Added
      4. Click on sub totals button.pngImage Removed to Image Added to set sub totals. 
        1. Show sub totals
        2. Do not show sub totals
        3. Show sub totals rows only
        4. Show sub totals columns only
          sub totals.jpgImage RemovedImage Added
      5. Click on Image Removed to Image Added to set grand totals. 
        1. Show grand totals
        2. Do not show grand totals
        3. Show grand totals rows only
        4. Show grand totals columns only
      6. Click on Formatting button.pngImage Removed to Image Added to set formatting.
        1. Number Formatting
        2. Conditional Formatting
  13. Finally, click Apply. This will show a preview of the pivot table.

    Image Modified