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
ysapiyev
Responsive Resident
Responsive Resident

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 6
v-viig
Community Champion
Community Champion

Yes, it's possbile. You just need to implement Selection via SelectionManager.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

ysapiyev
Responsive Resident
Responsive Resident

@v-viig,

 

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-viig
Community Champion
Community 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

pbicvsupport@microsoft.com

ysapiyev
Responsive Resident
Responsive Resident

@v-viig,

 

I implemented drilldown in capabilities. However, I find it hard to set selection manager for hierarchy levels. Can I send code for examination and pointing my mistakes in selection manager?

 

Regards,

Yerkhan

v-viig
Community Champion
Community Champion

Yes, sure. Please send source code to pbicvsupport@microsoft.com

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

ysapiyev
Responsive Resident
Responsive Resident

@v-viig,

 

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:

stack.png

 

Regards,

Yerkhan

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.