March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
127 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
204 | |
105 | |
99 | |
64 | |
54 |