This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I am building a Power BI theme template and have run into what appears to be a bug with the new cardVisual and individual padding. The goal is to apply individual outer margins to all card visuals via the theme JSON. The margins themselves (topOuterMargin, rightOuterMargin, etc.) are schema-validated and apply correctly, but only when the "Individual padding" toggle is manually enabled in the format pane first. Through the theme alone, the toggle does not activate, so the margins have no visible effect.
I have tried setting paddingIndividual in the following ways:
So Power BI validates the boolean correctly, reads the value, but does not honour it during rendering. Has anyone found a workaround, or is this a known bug?
Edit: I also have the same problem with borders for the cards (not the borders for the visual itself, but for the cards within the visual):
My code looks like this:
Solved! Go to Solution.
Hello
this really looks like a Power BI bug
As a workaround, you could try creating one “template” card manually with Individual padding enabled, then duplicate it across reports, or save it inside a PBIX template instead of relying only on the theme JSON. Same for the inner card borders, the outline settings seem partially supported but inconsistent.
Best regards,
Daniele
Hi @SondreHaugen,
Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to @DanieleUgoCopp for sharing valuable insights.
Could you please confirm if your query has been resolved by the provided solutions? This would be helpful for other members who may encounter similar issues.
Thank you for being part of the Microsoft Fabric Community.
Hello
this really looks like a Power BI bug
As a workaround, you could try creating one “template” card manually with Individual padding enabled, then duplicate it across reports, or save it inside a PBIX template instead of relying only on the theme JSON. Same for the inner card borders, the outline settings seem partially supported but inconsistent.
Best regards,
Daniele
Check out the May 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 |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |