Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
miguelclemente
Regular Visitor

Mapbox drill down not working

I am trying to do a choropleth Spain map with the population in its autonomous communities and then be able to do a drill down to provinces and municipalities.

I have already set the layers, the token and tileset ID's, but the problem is:

When I start in autonomous communities and make the first drill down, it shows the provinces of that autonomous community. But when I move the mouse, they disappear and I get only the empty map.

Any idea why does this happen and how can it be solved?
Thank you very much.

1 REPLY 1
Anonymous
Not applicable

Hi @miguelclemente ,
Based on your description, I looked up documentation on the issue. This may be happening in relation to how drill-down states and expand/collapse states are managed in the visual object. As stated on the power bi documentation, when you disable the drilldown and then re-enable it, only the first level will be displayed, regardless of what was displayed before it was disabled. Similarly, the expand/collapse state is not saved when you disable the drilldown, which results in all rows collapsing when the drilldown is re-enabled. You can refer to the following documentation for more information on how to manage drill-down:
The dynamic drill-down API in Power BI visuals - Power BI | Microsoft Learn

 

Best regards,

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.