Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello
Is there an API to get/set visuals in PowerBI using code?
To give you an idea, here some use cases:
Any help will be appreciated
@thebruuu Yes, Power BI SDK is available. you can use to create visuals, set property and themes,
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes
https://github.com/microsoft/PowerBI-JavaScript.
you can integrate it with Angular or any framework, Embed the Report and start playing with it, they also have playground area to get started,
Can you point me to the Power BI SDK?
I don't find code to create for example an histogram in power BI via code
wrt to Themes ,they are no good for loading an image (like a background logo)
nor for 'data color' which refers to below properties in an histogram:
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |