Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

March 2025 update - Style preset error

Helo

With the March Update we are facing the following error on our visuals (on JSON file)
Style Preset not found - click on details

the selected style preset did not have a definition the report's custom theme definition. 

How can we solve this?

Status: Delivered
Comments
dBlackstock
Frequent Visitor
@mattlee And how does one remove double wild-card StylePresets from a theme...better yet, how does one determine if a theme has a double wild-card StylePreset?
dBlackstock
Frequent Visitor
@mattlee: even when i try to change the report theme, it's still throwing an error. No formatting options appear for the visual since there is something wrong with the visual. Any ideas on how to fix this? It is happening across several of my reports and I don't see a way to fix it. It's a bug in my book because the problem doesn't exist in the February 2025 build. I have it running side by side with the latest Power BI version.
mattlee
Microsoft Employee

I posted details in the pinned response to the question above. If you theme has two, nested asterisks:

"*" {

    "*" {

        "stylePreset"...

That means you want that stylePreset to be applied to all visuals. If the visual doesn't have that stylePreset, then this new warning will appear.
Alternatively, you may have had a visual that supported style presets in your report (only Table and Matrix before this month), and you chose a specific stylePreset for that visual (e.g. "Minimal"). Later, that visual was converted to something else, like a column chart. The stylePreset was still there, and was saved with the columnChart. Now, since all visuals support stylePresets, it is trying to apply Minimal stylePreset to the column chart, but it is not defined, so there is this new warning. You should use the May Desktop release, select that visual, and clear the stylePreset using the format pane.

dBlackstock
Frequent Visitor
@mattlee: Thank you for the information. For me, the issue is not in the theme. However, when I select any of the visuals with the issue and select the format pane, I get the following alert (in the format pane): "Something's wrong with the visual. Please fix the error to use formatting options." So, how am I supposed to update the format on these visuals if Power BI is not allowing me to change anything in the format panel? What is the solution for this?
mattlee
Microsoft Employee

SU06 Desktop makes it easier to "Reset to default" any invalid Style Presets in the Format Pane, simply click the Reset link after opening the style preset card or choose Default from the dropdown.
This issue stems from explicitly setting a style preset on the visual (only possible for Table/Matrix), then converting that visual to some other visual. It would keep the style preset name on conversion, and now that we have support for all visuals it will try to apply it. The warning icon only appears in Edit mode.

mattlee
Microsoft Employee
Status changed to: Delivered
 
dBlackstock
Frequent Visitor
Thanks for the fix, @mattlee
candidBeing
Frequent Visitor
@mattlee When you said you can change a preset Style for "Minimal", how can we change the preset style of "Alternating rows"? Any combination of "Alternating Rows", uppercase, lowercase, no space, with space. Is not letting me overwrite the preset style but gives me another style with an identical name. This error does not appear for single word styles like Minimal or Default.