Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
wiameelamri
New Member

segments

Hello community!

I want to remove the calendar icon from my segment but I can't figure it out. Can someone please help me? (I don't know the least bit about coding btw)

segment.png

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@wiameelamri 

There is no option on the settings to disable the calendar icon. Follow these steps to remove it usign the Theme file.
1. Click on themes, click on "Save Current Theme"
2. Open the saved theme file in NotePad or any other applicaton that can work with JSON files
3. Insert the following code under "visualStyles": tag

 

    "slicer": {
            "*": {
                "date": [
                    {
                        "hideDatePickerButton": false
                    }
                ],
                "items": [
                    {
                        "fontColor": {
                           "solid": {
                                "color": "#252423"
                            }
                        },
                        "padding": 4,
                "accessibilityContrastProperties": true
                    }
                ]
            }
        },

 

4. Save the file and import it using the themes secttion in your report

Referrance : https://powerbi.microsoft.com/en-ca/blog/power-bi-march-2022-feature-summary/#:~:text=In%20March%202....

 






Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User

@wiameelamri 

There is no option on the settings to disable the calendar icon. Follow these steps to remove it usign the Theme file.
1. Click on themes, click on "Save Current Theme"
2. Open the saved theme file in NotePad or any other applicaton that can work with JSON files
3. Insert the following code under "visualStyles": tag

 

    "slicer": {
            "*": {
                "date": [
                    {
                        "hideDatePickerButton": false
                    }
                ],
                "items": [
                    {
                        "fontColor": {
                           "solid": {
                                "color": "#252423"
                            }
                        },
                        "padding": 4,
                "accessibilityContrastProperties": true
                    }
                ]
            }
        },

 

4. Save the file and import it using the themes secttion in your report

Referrance : https://powerbi.microsoft.com/en-ca/blog/power-bi-march-2022-feature-summary/#:~:text=In%20March%202....

 






Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.