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
Hi everyone,
Is it possible to change visual size or dashboard size using code?
Thanks.
Solved! Go to Solution.
Hi @ysapiyev,
As far as I know, it is not possible to directly change visual size or dashboard size programmatically with Power BI Embedded currently.
In addition, here is similar thread about building responsive dashboard view with Power BI Embedded, in which a workaround is mentioned. Could you go to check if it helps in your scenario? ![]()
Regards
I believe this is no longer true with custom layouts: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Custom-Layout
Hi @ysapiyev,
As far as I know, it is not possible to directly change visual size or dashboard size programmatically with Power BI Embedded currently.
In addition, here is similar thread about building responsive dashboard view with Power BI Embedded, in which a workaround is mentioned. Could you go to check if it helps in your scenario? ![]()
Regards
It won't help in my scenario, but now I know that size of dashboards or visual can't be controlled through code. Thanks.
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 | |
| 2 | |
| 2 |