The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I created a custom JSON theme. It contains slicer information as follows:
"slicer": {
"*": {
"data": [
{
"mode": "Dropdown"
}
],
"items": [
{
"textSize": 14,
"fontColor": {
"solid": {
"color": "#666666"
}
},
"background": {
"solid": {
"color": "#FFFFFF"
}
}
}
],
"header": [
{
"textSize": 15,
"fontColor": {
"solid": {
"color": "#666666"
}
}
}
],
"selection": [
{
"singleSelect": false
}
],
"background": [
{
"show": true,
"solid": {
"color": "#000000"
},
"transparency": 0
}
]
}
}
However, when I insert a new slicer, it always picks "Vertical List", and I then have to manually go to slicer settings/options and reset the style to default. When I do that, the slicer style then displays "Dropdown".
Any input is greatly appreciated.
Hi @SDittmannFleet ,
Please try below steps:
1. Verify JSON Syntax:
Ensure that the JSON theme file is correctly formatted and that there are no syntax errors. You can use online JSON validators to check the syntax.
2. Check Power BI Version:
Make sure you are using the latest version of Power BI Desktop, as there might be updates or fixes related to theme application.
3. Reapply the Theme:
Try reapplying the theme after inserting the slicer to see if it changes to the "Dropdown" mode.
4. Check for Overrides:
Ensure that there are no other settings or themes applied to the report that might be overriding the slicer mode.
5. Test with a New Report:
Create a new report and apply the theme before adding any slicers to see if the issue persists.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
None of these make any difference. From what I have seen online, it is a bug.