How can I make a Slicer show only one value at a time instead of a full scrollable list?

Hi all,

I have a Slicer that displays a long list of results but my whole dahsboard contains a lot of charts, so I don’t have too much space, I’d like it to instead of showing the entire list in the Slicer show only the selected value, and let me change it by clicking or selecting another option.

Basically, I want to keep the chart compact and focused on a single chosen value rather than displaying the full list of results.

Is there any way to configure that?

I think the Dropdown property will help you, with this property you can turn the Slicer in a Dropdown, so you can see the list of options only when you click on the Slicer, here is an example:

slicer.set('dropdown', true);

That was very simple, but it works, now my dashbpard looks better, thanks for your help