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 moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Custom Themes that are currently working on all our client files cannot be Saved and used on other new .pbix files.
I get the following error message:
Validation error at /visualStyles/*/*/columnFormatting/0/dataBars: Structure under wildcarded visualType does not anticipated structure for a property definition. Try targeting a specific visualType with these definitions for a more detailed error message.
I have tried targeting specific Visuals, but the error message stays the same.
I have worked through the .json file and cannot figure out what the issue could be.
Please advise and thank you in advance.
Solved! Go to Solution.
@JosephJClark They update the specification for Power BI theme files from time to time. Try removing any dataBars entry in the file.
The error occurs because Data Bars (dataBars) and Column Formatting (columnFormatting) are properties specific to certain visual types and cannot be defined under a global wildcard (*) in the Power BI Theme JSON schema.
To resolve this, you need to locate the visualStyles section in your JSON file and move the columnFormatting definitions from the generic wildcard section to specific visual types that support them, such as tableEx or pivotTable. Power BI's validation engine no longer accepts these properties when they are applied globally across all visual types.
Corrected JSON Structure Example:
Instead of using:
"visualStyles": { "*": { "*": { "columnFormatting": [...] } } }
You should use:
JSON
"visualStyles": {
"tableEx": {
"*": {
"columnFormatting": [
{
"dataBars": {
"show": true
// additional properties
}
}
]
}
},
"pivotTable": {
"*": {
"columnFormatting": [...]
}
}
}
If you do not strictly need global default Data Bars, the quickest fix is to remove the columnFormatting block entirely from the wildcard section. Once you've targeted specific visuals or removed the global reference, the theme will pass validation and allow you to save your .pbix files.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
The error occurs because Data Bars (dataBars) and Column Formatting (columnFormatting) are properties specific to certain visual types and cannot be defined under a global wildcard (*) in the Power BI Theme JSON schema.
To resolve this, you need to locate the visualStyles section in your JSON file and move the columnFormatting definitions from the generic wildcard section to specific visual types that support them, such as tableEx or pivotTable. Power BI's validation engine no longer accepts these properties when they are applied globally across all visual types.
Corrected JSON Structure Example:
Instead of using:
"visualStyles": { "*": { "*": { "columnFormatting": [...] } } }
You should use:
JSON
"visualStyles": {
"tableEx": {
"*": {
"columnFormatting": [
{
"dataBars": {
"show": true
// additional properties
}
}
]
}
},
"pivotTable": {
"*": {
"columnFormatting": [...]
}
}
}
If you do not strictly need global default Data Bars, the quickest fix is to remove the columnFormatting block entirely from the wildcard section. Once you've targeted specific visuals or removed the global reference, the theme will pass validation and allow you to save your .pbix files.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
@JosephJClark They update the specification for Power BI theme files from time to time. Try removing any dataBars entry in the file.
Thank you very much. I removed the dataBars settings from the wildcard section and it resolved the issue. I appreciate the effort taken to give advise.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 32 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 75 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |