cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SamCarlson Frequent Visitor
Frequent Visitor

JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Short version: What is the JSON label for the Slicer Selection Control Setting "Multi-select with CTRL"?

 

I found this code which has almost everything I need but since multi-select with ctrl is a newer feature, it is not there.

 

Any leads on how to define this default in a JSON template would be greatly appreciated!

 

1 ACCEPTED SOLUTION

Accepted Solutions
TroyV Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

"slicer": {
     "*": {
          "selection": [{
                 "singleSelect": false,
                 "multiSelect": false,
                 "selectAllCheckboxEnabled": true
           }]

      }

)

View solution in original post

8 REPLIES 8
Nathaniel_C Super Contributor
Super Contributor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Hi @SamCarlson ,

Here is a good place to report issues.
https://community.powerbi.com/t5/Issues/idb-p/Issues
Nathaniel

TroyV Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

"slicer": {
     "*": {
          "selection": [{
                 "singleSelect": false,
                 "multiSelect": false,
                 "selectAllCheckboxEnabled": true
           }]

      }

)

View solution in original post

SamCarlson Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Success! Appreciate the help. Should've known "with CTRL" wouldn't be included in the JSON name. 

cvandalen Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Hi @TroyV ,

 

I tried to use the multiSelect but I did not change the toggle for Multi-Select with with Ctrl on.

 

Did anyone else have this problem?

TroyV Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Interesting @cvandalen as long as you have it set to true I would think it would work? Maybe make sure that the Single Select option is set to false. 

cvandalen Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Here is the code I am using. 

{
"name": "Custom Theme",
	 "dataColors": [
				"#09264E", 
        		"#004AB5",
        		"#FFA300", 
        		"#f2ebdb", 
        		"#D64550",
        		"#197278", 
        		"#1AAB40",
				"#3BB44A",
        		"#F2C811", 
        		"#D63817"
	],
	"visualStyles": {
		"slicer": {
              "*": {
                "selection": [{
                    "singleSelect": false,
					"multiSelect" : true,
                    "selectAllCheckboxEnabled": false
                  }],	
				"header": [{
                    "show": true
                  }],
				"title": [{
						"show": true,
						"fontColor": { "solid": { "color": "#333333" } },
						"background": { "transparency": { "color": "" } },
						"alignment": "left",
						"fontSize": 10,
						"fontFamily": "Segoe UI Semibold"
					}],
				"items": [{
					"fontColor": { "solid": { "color": "#605E5C"}},
					"background": { "solid": { "color": "#FFFFFF"}},
					"outline": "None",
					"textSize": 9,
					"fontFamily": "Segoe UI"
					}],
				"visualHeader": [{
                    "show": false					
					}]
              }
		}
    }
}
SamCarlson Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Sorry if I'm misunderstanding what you are trying to do, but aren't the slicer selection settings in your JSON already the default?

cvandalen Frequent Visitor
Frequent Visitor

Re: JSON Label for Slicer Selection Control Setting 'Multi-select with CTRL"

Yes they are but if I want to change "selectAllCheckboxEnabled" to true and have "mutiSelect" set to true, only "selectAllCheckboxEnabled" will change.

"selection": [{
                    "singleSelect": false,
                    "multiSelect" : true,
                    "selectAllCheckboxEnabled": true
}],

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 408 members 3,660 guests
Please welcome our newest community members: