Constants

The user can also add enterprise-specific constant values. These can then be used when defining computed data measure expression. All constants belonging to the user's enterprise will be visible in the constants tab and user can add those to the data measure expression.


images/download/attachments/144835710/user-defined-constants-version-1-modificationdate-1645049010000-api-v2.png



  1. New Constant—If the role type has permission to execute the PLT.Create action on the UserDefinedConstant model, the "New Constant" button will appear in the toolbar.


    images/download/attachments/144835710/new-constant-version-1-modificationdate-1645049020000-api-v2.png

  2. Update—If the role type has permission to execute the PLT.Update action on the UserDefinedConstant model, the "Value" field will be editable.


    images/download/attachments/144835710/update-constant-value-version-1-modificationdate-1645049032000-api-v2.png



  3. Delete Constant—If the role type has permission to execute the PLT.Delete action on the UserDefinedConstant model, the "Delete Constant" icon will appear, allowing the user to delete an unused constant.


  4. Add To Expression—using the "Add To Expression" icon, the user can add a constant to a computed data measure expression.

    images/download/attachments/144835710/add-to-expression-version-1-modificationdate-1645049043000-api-v2.png