Files
docs.datacontroller.io/docs/tables/mpe_derived.md
T
dc 76b8c5fb07 docs(derived): publish the page, and the images for the computed-column styling
The screenshots were taken on the mocked estate, before setvars began marking
computed columns with an fx badge, a tinted header and a left edge where the
derived block starts.  They are re-taken against a real SAS backend, so the
images show what ships, and the page describes the marking.

The draft banner comes off both pages, the (draft) suffix off both nav entries,
and the roadmap gains its Delivered Features entry - all held until the release
lands.
2026-10-27 23:50:22 +00:00

1.4 KiB

layout, title, description
layout title description
article MPE_DERIVED The MPE_DERIVED table is used to configure computed columns that appear in the EDIT screen and can be filtered on without being stored in the table.

MPE_DERIVED

The MPE_DERIVED table is used to configure derived (computed) variables - columns that are created when a table is loaded into the EDIT screen, so that they can be displayed and filtered on without being stored. More details are available in the user guide

The table is itself registered in MPE_TABLES, so it is maintained through the EDIT screen with the usual review and approve workflow.

Columns

  • TX_FROM num: SCD2 open datetime
  • 🔑 TX_TO num: SCD2 close datetime
  • 🔑 LIBREF char(8): The libref of the target table
  • 🔑 DSN char(32): The target table
  • 🔑 VAR_NM char(32): The name of the derived column
  • VAR_DEPS char(4000): Every input the expression uses - physical columns and derived variables, space separated
  • VAR_TYPE char(1): C for character, N for numeric
  • VAR_LEN num: Character length, or numeric length (1-8)
  • VAR_FMT char(32): Optional SAS format, eg DATE9.
  • VAR_LABEL char(256): Optional label; defaults to <VAR_NM>=<expression>
  • VAR_LOGIC char(4000): The SAS expression that produces the value
  • ACTIVE num: Set to 1 to apply the variable