Forum Discussion

preet_5aini's avatar
preet_5aini
New Member
1 year ago
Solved

Getting error in custom theme

{
"name": "Custom Theme",
"dataColors": ["#F5C869"],
"background": {
"color": "#D3D3D3"
},
"visualStyles": {
"*": {
"*": {
"title": [{
"fontSize": 12,
"fontFamily": "Segoe UI",
"fontWeight": "semibold"
}],
"labels": [{
"fontSize": 10,
"fontFamily": "Segoe UI"
}]
}
}
}
}


This is my json i am getting error in this one while importing in PowerBI

  • Hello preet_5aini 

     

    try this 

    {
        "name": "Custom Theme",
        "dataColors": ["#F5C869"],
        "background": "#D3D3D3",
        "visualStyles": {
            "*": {
                "*": {
                    "title": [{
                        "fontSize": 12,
                        "fontFamily": "Segoe UI",
                        "fontWeight": "semibold"
                    }],
                    "labels": [{
                        "fontSize": 10,
                        "fontFamily": "Segoe UI"
                    }]
                }
            }
        }
    }
    

     

    kindly support my youtube channel https://www.youtube.com/@PowerBISolution

     

1 Reply

  • Hello preet_5aini 

     

    try this 

    {
        "name": "Custom Theme",
        "dataColors": ["#F5C869"],
        "background": "#D3D3D3",
        "visualStyles": {
            "*": {
                "*": {
                    "title": [{
                        "fontSize": 12,
                        "fontFamily": "Segoe UI",
                        "fontWeight": "semibold"
                    }],
                    "labels": [{
                        "fontSize": 10,
                        "fontFamily": "Segoe UI"
                    }]
                }
            }
        }
    }
    

     

    kindly support my youtube channel https://www.youtube.com/@PowerBISolution