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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.