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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.