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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
How can I import a theme or create a custom visual that has the same font, size, and color I select from the JSON. If somebody could please comment below how to accomplish this similar to my legend I would be forever greatful. I have looked into the documentation and cannot for the life of my figure it out.
{
"name": "CEI",
"dataColors": ["#07138d" , "#2aabe2" , "#fdce0c" , "#9edc5d", "#7a36ad", "#e0a7f9", "#b7dee8", "#e16f06"],
"background":"#FFFFFF",
"foreground": "#007C59",
"tableAccent":"#FCB514",
"visualStyles": {
"*": {
"*": {
"*":[{
"responsive":true,
"wordWrap":true,
"fontFamily":"Georgia",
"fontColor":"#060606",
"fontSize":13
}],
"objects": {
"wordWrap":[{
"show":true
}],
"labels": [{
"show":true
}]
},
"categoryAxis": [{
"showAxisTitle":true
}],
"valueAxis":[{
"showAxisTitle": false
}],
"legend": [{
"show": true,
"position":"LeftCenter",
"showTitle": true,
"titleText": "",
"legendColor": { "solid": { "color": "#060606"}},
"fontFamily": "Arial Black",
"fontSize": 12
}]
}}
}
}
Custom Visuals do not support visualStyles feature of Power BI Themes. It's on backlog with no ETA.
To fix specify colors in your custom visual you should hard code them in TypeScript code.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Check out the April 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 |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |