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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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

[email protected]

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

[email protected]

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 [email protected]

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

[email protected]

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.