Forum Discussion
Drlldown by click
Hi everyone,
I inserted drilldown option in my custom bar visual through capabilities.
Is it possible to drilldown by click on bar?
If it is not available in API, how can I acces drilldown level in code?
Regards,
Yerkhan
6 Replies
- v-viigCommunity Champion
Yes, it's possbile. You just need to implement Selection via SelectionManager.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- ysapiyevResponsive Resident
Thanks. So, if I implement selection manager, it will drill down automatically? Or should I set appropriate hierarchy level in code?
Also, I have slicers for every hierarchy level: categories for level 1, 2 and etc. How to set drill down if slicer for level 1 is used?
So, it will look something like this:
Regards,
Yerkhan
- ysapiyevResponsive Resident
I've noticed, that described functionality already supports in regular stacked column chart. However, due to design, data entry and tooltips functionality, this visual not suitable for me. So, how can I achieve same functionality?
Regards,
Yerkhan
- v-viigCommunity Champion
To support drill down you just need to add drilldown into capabilities.json and SelectionManager.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals