Set Conditional Format
pbir_set_conditional_formatApply conditional formatting to a visual container's background or title font using rules, gradient, or clear options. Supports comparison operators for conditions.
Instructions
Apply conditional formatting to a visual container background or title font. formatType: rules / gradient / clear. ComparisonKind: 0=Eq,1=GT,2=GTE,3=LT,4=LTE,5=NEq.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Ordered list (first match wins) | |
| entity | No | Driving table name | |
| pageId | No | Page ID. Auto-resolved when only one page exists. | |
| maxColor | No | gradient | |
| midColor | No | gradient (optional 3-stop) | |
| minColor | No | gradient | |
| property | No | background | |
| visualId | Yes | The visual ID | |
| isMeasure | No | ||
| property2 | No | Driving column/measure name | |
| formatType | Yes | ||
| defaultColor | No |