set_visual_interactions
Define how selecting a data point in one visual filters or highlights another visual in your Power BI report.
Instructions
Set how a SOURCE visual affects a TARGET visual when a data point is selected (edit interactions). interaction = filter | highlight | none. sourceVisual/targetVisual are visual names (from list_visuals). Writes a { source, target, type } override in the page config (type: 1=filter, 2=highlight, 3=none). Verify the render in Desktop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| interaction | Yes | filter | highlight | none | |
| sourceVisual | Yes | the visual whose selections drive the interaction | |
| targetVisual | Yes | the visual that is affected | |
| reportSessionId | Yes |