Forum Discussion
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.
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
- amitchandakSuper User
mmendizIgt , Json Script and Hierarchy Slicer?
I think JSON file ned to be converted into table format before use
- mmendizIgtFrequent Visitor
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.
- v-easonf-msftCommunity Support
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