Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a question regarding the map used in power bi, Just wanna know is layering is possible in map box,if yes how we can acheive it,if no is there any other map we can use or we can acheive it through scripts or coding.
As am having a US states data their county,what i need to do is to plot this data in a mapbox and form a layers as us staes then their county.
I want an output like below shown in the images,as this the MSTR map box, formong the layers of states and county:
Any help would be appreciated!!
@amitchandak @Fowmy @Greg_Deckler
Thanks,
Preeti
If I understand your question correctly you could try Page custom tooltips:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @AllisonKennedy ,
Thanks for your reply,but i dont want the tooltip ,i want layer in map box.
Regards,
Preeti
@Preeti_Yadav Ah, sorry, I was thrown off by your screenshots with the big white boxes thinking that's what you wanted, but that's just how to add the layers in your other program...
You might be able to acheive something similar using drilldown with Country and State both added to the location field of the map visual.
Otherwise the Shape Map is in preview feature and might help - I don't personally have much experience with this one as am in NZ and they don't have a ready built map for us yet, so you may need to follow the help on Shape Map to create your own custom map. Then again, use the drill-down functionality to get close to the layer effect.
Hope that helps?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.