set_calc_group_selection_expressions
Set DAX expressions for no-selection and multiple/empty selection in Power BI calculation groups, with optional dynamic format strings.
Instructions
Set a calculation group's NoSelectionExpression and/or MultipleOrEmptySelectionExpression - the DAX returned when no / multiple calc items are selected - with optional dynamic format strings. Needs compatibility level 1605+ (auto-bumped, reported back).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| sessionId | Yes | ||
| noSelectionExpression | No | DAX run when NO calc item is selected (optional) | |
| noSelectionFormatString | No | dynamic format string for the no-selection expression (optional) | |
| multipleOrEmptyFormatString | No | dynamic format string for the multiple/empty expression (optional) | |
| multipleOrEmptySelectionExpression | No | DAX run when MULTIPLE or empty selection (optional) |