set_custom_format_string
Set a measure's static custom format pattern using colour codes and arrow symbols, with positive;negative;zero sections to control display in Power BI models.
Instructions
Set a measure's STATIC custom format string: a 3/4-section pattern positive;negative;zero;"text" with optional [Colour] codes and UNICHAR arrows (distinct from set_dynamic_format_string, the DAX-driven one). e.g. "[Green]▲ #,0;[Red]▼ #,0;0".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | the measure's table | |
| measure | Yes | the measure name | |
| pattern | Yes | the format pattern (3/4 sections separated by ;) | |
| sessionId | Yes |