Forum Discussion
JSON Design for Slicer
- 1 year ago
Thankyou, burakkaragoz and MFelix, for your response.
Hi SergeyA,We appreciate your inquiry on the Microsoft Fabric Community Forum.
Based on my understanding, you are attempting to apply JSON-based styling exclusively to the tile-style slicer, while keeping the dropdown and list-style slicers with a white background and dark text. However, the formatting from your JSON is currently being applied to all slicers.
At present, Power BI's JSON theming does not support individual formatting of slicers based on their layout (tile, list, or dropdown). Styling defined under the "slicer" category applies globally to all slicers.
Kindly follow the approach mentioned below, which may help resolve the issue:
- Use your existing JSON to apply the desired formatting globally (for the tile-style slicer).
- Manually override the dropdown and list slicers by using the Format pane. Set the background color to white (#FFFFFF) and the font color to dark (#000000).
- This method will enable you to maintain visual distinction while preserving theme consistency.
Additionally, please refer to the following link:
Use report themes in Power BI Desktop - Power BI | Microsoft LearnIf you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will help other community members facing similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.
Thank you.
Hi SergeyA,
We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.
If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.
Thank you.