Versions Compared

Key

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

For Data Scientists, Visualization Experts, and Excel Formula Architects, the standard Dimensions and Measures may not completely fit your needs. Your story has a deeper level of complexity which requires a deeper connection with the data. Custom Fields give you greater flexibility with your data.

There are 3 types of Custom Fields you can create:

  • Custom Dimensions: BLAH 
  • Custom Measure: BLAH
  • Table Calculations (or Table Calcs

    A frequent custom data field you would probably use is a Table Calculation (or Table Calc): perform mathematical, logical (true/false), lexical (text-based), and date-based calculations on the dimensions, measures, and other calculations in your query. Table Calcs are similar to Excel functions.

    Using Custom Dimensions

    Using Custom Measures

    Using Table Calculations

    Let's break down what a Table Calc is, in terms of the syntax.

    Table Calculations Syntax

    With Table Calculations (or 'Table Calcs'), you can create metrics on-the-fly. They Table Calcs are similar to formulas found in spreadsheet tools like Excel, and you can perform mathematical, logical (true/false), lexical (text-based), and date-based calculations on the dimensions, measures, and other calculations.

    Table Calcs appear as green columns in the data table, rather than as blue columns (Dimensions) or orange columns (Measures).

    Image Removed

    Let's take a very simple example: work order status and work order count per status. Let's say you want to calculate the percentage of work orders, per work order status, to the total number of work orders. In Excel, it may look appear akin to this:

    Image RemovedImage Added

    In Analytics , you would create a similar formula, except that you would not refer to cells (like "C2" or "A3"), you would only but rather refer to the Dimension Dimensions or MeasureMeasures involved. Also, you would not have to duplicate the formula for each cell or make sure the $X$n cell remained intact. Therefore, this formula in Analytics would appear as:

    Panel
    bgColor#F9F9F9
    titleColor#0e3367
    titleBGColor#EAEAEA
    borderStylenone

    ${subscriber_workorders.count}/sum(${subscriber_workorders.count})

    • ${subscriber_workorders.count} = WO Count measure
    • sum(${subscriber_workorders.count}) = total of WO Count

    Table Calcs appear as green columns in the data table, rather than as blue columns (Dimensions) or orange columns (Measures).

    Image Added


    To use a Table Calc, first you should activate the data fields you want to use. 

    Live Search
    spaceKeySCU
    additionalpage excerpt
    placeholderSearch our Knowledge Base
    typepage

    Panel
    titleColor#ffffff
    titleBGColor#5fa7d0
    borderStylegroove
    titleIn this Article

    Table of Contents
    maxLevel3
    minLevel2
    indent20px

    Panel
    titleColorwhite
    titleBGColor#75a346
    titleRelated Articles

    Filter by label (Content by label)
    showLabelsfalse
    max8
    showSpacefalse
    sorttitle
    cqllabel = "label" and space = currentSpace ( )