I was wondering if there was a way to have a slicer dynamically size itself based on the number of items in the slicer
I am looking to remove the blank space so it takes up less space
There is a similar post for you refer to:
It is not possible in PowerBI for now. The auto size of a visual is not available now.
For your requirement, you could post your new idea in Power BI ideas and make this feature coming sooner.
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.