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

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.

Reply
mmendizIgt
Frequent Visitor

Expand/Collapse values in JSON script for hierarchy slicers

Hello, do any of you know the values for the Expand/collapse icon in a Hierarchy Slicer? I think that the property name is expandCollapseToggleType as it appears in the Layout file when you convert the .pbix file into a .zip file.

 

mmendizIgt_0-1617973851898.png

 

 

My problem is that I can't find the values of the icons (Chevron, Caret, Plus/minus) to set the Plus/minus as default in my script.

 

Thanks

 

Mijalis

3 REPLIES 3
amitchandak
Super User
Super User

@mmendizIgt , Json Script and Hierarchy Slicer?

I think JSON file ned to be converted into table format before use

 

refer:https://www.youtube.com/watch?v=MPYfEetvFH4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, thanks for your answer. I think I didn't express myself correctly. I'm creating a JSON theme file for Power BI and I can't find the property name and values that configure the toggle button in the hierarchy slicer. From the JSON in the pbix file converted to zip, I believe that the property name is expandCollapseToggleType. I'm not trying to load a JSON to Power BI. I'm looking for the Chevron, Caret, +/- names in the JSON theme file in order to set +/- as default.

Hi, @mmendizIgt 

In fact, I doubt whether there are such property names and values in the json file, which are used to configure the toggle button in the hierarchy slicer

If you still have no idea about your problem, you'd better open a support ticket with MSFT to seek technical support.
https://powerbi.microsoft.com/en-us/support/pro/

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.