Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Today I am creating a custom theme with Json language. Does anyone know how to set slicer as a list by default with Json? Closest example I could find is underneath. Thanks in advance,
Sjim.
{
"name": "SlicerTemplate",
"visualStyles": {
"slicer": {
"*": {
"general": [{
"outlineColor": { "solid": { "color": "#444444"}},
"outlineWeight": 1,
"orientation": "vertical",
"responsive": true
}],
"data": [{
"mode": "Basic",
"relativeRange": "",
"relativePeriod": ""
}],
"selection": [{
"selectAllCheckboxEnabled": false,
"singleSelect": true
}],
"header": [{
"show": true,
"fontColor": { "solid": { "color": "#000000"}},
"background": { "solid": { "color": ""}},
"outline": "None",
"textSize": 10,
"fontFamily": "Segoe UI"
}],
"items": [{
"fontColor": { "solid": { "color": "#000000"}},
"background": { "solid": { "color": ""}},
"outline": "None",
"textSize": 11,
"fontFamily": "Segoe UI"
}]
}
}
}
}
Hi,
I have the same question but want to default it to dropdown.
Thanks in advance,
Chantelle
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 4 | |
| 3 | |
| 3 |