set_column_flags
Update a column's modelling flags in a Power BI model: mark as key, nullable, unique, set alignment, or adjust encoding hint.
Instructions
Set a column's modelling flags (any subset; omitted flags are left unchanged): isKey (the table's key column), isNullable, isUnique, alignment (Left | Center | Right | Default), encodingHint (Hash | Value | Default - the VertiPaq encoding preference).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isKey | No | mark/unmark as the table key | |
| table | Yes | ||
| column | Yes | ||
| isUnique | No | values are unique | |
| alignment | No | Left | Center | Right | Default | |
| sessionId | Yes | ||
| isNullable | No | allow nulls | |
| encodingHint | No | Hash | Value | Default (VertiPaq encoding hint) |