add_image
Add an image from a local path to a Power BI page, embedding it as a resource and setting position, size, and scaling to complete the report's brand kit.
Instructions
Place an image (e.g. a brand LOGO) on a page - embeds the file into the .pbix as a resource and adds an image visual. Completes the brand kit (logo IN the report, not just the palette). scaling = Fit | Fill | Normal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| scaling | No | Fit | Fill | Normal | Fit |
| pageName | Yes | ||
| imagePath | Yes | path to the image file (png/jpg) | |
| reportSessionId | Yes |