Forum Discussion
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
- AnonymousNot 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 LearnBest regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly