This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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:
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |