nicks's avatar
nicks
Regular Visitor
9 months ago
Status:
New

New card visual theme json ignores many layout options

Power Bi desktop Version: 2.149.1252.0 64-bit (November 2025)

 

Latest schema reportThemeSchema-2.149.json from powerbi-desktop-samples/Report Theme JSON Schema at main · microsoft/powerbi-desktop-samples · GitHub which is also referenced here Create a card visual in Power BI - Power BI | Microsoft Learn

 

None of these layout options change when updating either the default or custom style in a theme json and reimport.

 

I have tried many combinations of options:

 

{
    "$schema": "https://raw.githubusercontent.com/microsoft/powerbi-desktop-samples/main/Report%20Theme%20JSON%20Schema/reportThemeSchema-2.149.json",
    "name": "Custom Theme",
    "visualStyles": {
        "cardVisual": {
            "*": {
                "label": [
                    {
                        "$id": "default",
                        "show": true
                    }
                ],
                "layout": [
                    {
                        "$id": "default",
                        "rowCount": 1,
                        "columnCount": 1,
                        "orientation": 0
                    }
                ]
            },
            "Test card": {
                "label": [
                    {
                        "$id": "default",
                        "show": true
                    }
                ],
                "layout": [
                    {
                        "$id": "default",
                        "autoGrid": false,
                        "style": "Cards",
                        "orientation": 0
                    }
                ]
            },
            "Test card 2": {
                "label": [
                    {
                        "$id": "default",
                        "show": true
                    }
                ],
                "layout": [
                    {
                        "$id": "default",
                        "style": "Cards",
                        "rowCount": 1,
                        "columnCount": 1,
                        "orientation": 0
                    }
                ]
            },
            "Test card 3": {
                "label": [
                    {
                        "$id": "default",
                        "show": false
                    }
                ],
                "layout": [
                    {
                        "$id": "default",
                        "autoGrid": false,
                        "orientation": 2,
                        "maxTiles": 7,
                        "columnCount": 7,
                        "rowCount": 7,
                        "style": "Cards",
                        "alignment": "center",
                        "contentOrder": "image_callout_referenceLabel",
                        "collage": "None",
                        "backgroundShow": false
                    }
                ]
            }
        }
    }
}

 

 

No CommentsBe the first to comment