Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
I am using the basic map and I choose the "Aerial" style as shown in the figure below.
I would like my client (report user) to have the options to change the style as per the options listed in the figure (e.g. Road, GrayScale). Therefore, I would like to add a slicer for the user to choose the Map Style. How do I develop a slicer, or equvalent, to provide my user the flexibility to choose the Map Style? Thank you.
Solved! Go to Solution.
In Power BI, there isn’t a built-in feature to dynamically change the map style via a slicer. However, you can implement a workaround by creating multiple map visuals, each with a different style, and then using a slicer to toggle visibility between them.
Here’s how to set it up:
By using this approach, your users can use the slicer to switch between different map styles without needing direct access to the map settings. This method requires more setup but provides the style flexibility you need.
If I have resolved your question, please consider marking my post as a solution🎉Thank you!.
Hi @Fidezuri1990 ,
As grazitti_sapna said, there is currently no way to switch map styles via the slicer. There is a workaround to create multiple maps stacked on top of each other and toggle their visibility via bookmarks:
I have attached a pbix file for your reference. Unfortunately bookmarks don't inherit the zoom from the last map, so if you have any suggestions and ideas to help make PBI better, feel free to submit them below:
Fabric Ideas
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
awesome, thank you so much! Both solutions work for me.
Hi @Fidezuri1990 ,
As grazitti_sapna said, there is currently no way to switch map styles via the slicer. There is a workaround to create multiple maps stacked on top of each other and toggle their visibility via bookmarks:
I have attached a pbix file for your reference. Unfortunately bookmarks don't inherit the zoom from the last map, so if you have any suggestions and ideas to help make PBI better, feel free to submit them below:
Fabric Ideas
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
In Power BI, there isn’t a built-in feature to dynamically change the map style via a slicer. However, you can implement a workaround by creating multiple map visuals, each with a different style, and then using a slicer to toggle visibility between them.
Here’s how to set it up:
By using this approach, your users can use the slicer to switch between different map styles without needing direct access to the map settings. This method requires more setup but provides the style flexibility you need.
If I have resolved your question, please consider marking my post as a solution🎉Thank you!.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |