This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello all,
My understanding is that JSON theme file values are [mostly?] only able to modify settings that appear in the formatting pane for visuals. With the new December update, the Slicer Option > Style has been relocated to this formatting pane.
Has anyone figured out how to set the Slicer Style to "Dropdown" in a custom JSON theme file yet?
Hi @spham1215,
The info I've received is that the property is data > mode, but it still looks like this has the same bug you've observed and that the property has to be reset to default to apply correctly 😞
The following syntax may be useful for later if/when it's fixed and is supposed to be the correct selector to use when setting up a theme:
{
"name": "My Theme",
"visualStyles": {
"slicer": {
"*": {
"data": [
{
"mode": "Between"
}
]
}
}
}
}
Valid values for mode are:
I hear that if the type you specify is not compatible with the field type, it will typically force it to one that does.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hey there, were you able to figure out the JSON code to set "dropdown" for the slicer? Having the same issue.
Thanks!
It seems the below code "works," but there's a bug that requires you to click "Reset to Default" in the slicer pane for the JSON theme setting to kick in:
"slicer":{
"*":{
"options": [{
"style": "Dropdown"
}],
Just waiting for the bug fix I guess..
I guess currently no such property has been launced to configure this requirement, lately.
Check out the May 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.