set_image_source
Replace the image source of an existing Power BI image visual with a local file, HTTP(s), or data URL while preserving current scaling.
Instructions
Re-source an EXISTING image visual: rewrite its sourceFile to a new image (add_image only creates new ones). imageUrlOrPath = a local file (embedded) or an http(s)/data URL. Preserves the visual's current scaling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| visual | Yes | the image visual's name | |
| imageUrlOrPath | Yes | local image file or http(s)/data URL | |
| reportSessionId | Yes |