Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have my application in ASP.NET Core with embedded a PowerBI report. The result is that.
I want to remove the white margin on the left and on the right. I tried to change the CSS without result. DO you have any hint for it? Thank you
Solved! Go to Solution.
Hi @Anonymous
You may refer to this blog to learn how to customize Power BI embedded frame.
For reference:
Customizing PowerBI report in Power Apps Portal
The height of the element is 600 px by default.
You can customize the height and width of Power BI report by code as below.
.powerbi{
height:85vh
}
Here is a post with similar requirement like yours, I hope it could help you.
For reference:
How to remove the border of an embedded power bi report
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
You may refer to this blog to learn how to customize Power BI embedded frame.
For reference:
Customizing PowerBI report in Power Apps Portal
The height of the element is 600 px by default.
You can customize the height and width of Power BI report by code as below.
.powerbi{
height:85vh
}
Here is a post with similar requirement like yours, I hope it could help you.
For reference:
How to remove the border of an embedded power bi report
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 1 | |
| 1 | |
| 1 |