Forum Discussion
Custom Visual with drill support
- 10 years ago
I have not tried this in the Playground yet, but numerous charts have drilldown listed in their Capabilities. Try using one of the [x]capabilities.ts files for a template.
For example:
drilldown: {
roles: ['Category']
},
Hi,
I have a data set with two hierarchical columns as REGION and SUB-REGION. A REGION has multiple SUB-REGION'S.
I have dragged both the columns to VISUAL FILTER section in Power BI.
When I select a REGION and then SUB-REGION in the visual filter, I am not getting the selected "SUB-REGION" in the "update" method of Custom Visual.
Is there anyway to get both the REGION and SUB-REGION whenever filter is modified?
Could you help on this. Thanks in advance.
Sandeep
Hi,
If I understand you correctly I don't think there is any way of getting data from more than one drill-down level at a time. You will always get data on the current level only (at least the last time I tried it). This makes is very hard to create custom visuals that display hierarchies using drill-down (such as Pivot Tables or Breakdown Trees). Hopefully this will be supported in the future.
/ Fredrik
- SandeepPowerBI10 years agoMicrosoft Employee
Thanks. Could you suggest any reference for adding a field to capabilities with drill down option in custom visual.
Thanks
Sandeep
- kishore-kommi9 years agoFrequent Visitor
Hi Fredrik,
I am new in power bi custom visual development. I want to create a new 'stacked column bar' chart with of support drill down and drill up capabilities. Could you please help me on the how to add the 'drill down' and 'drill up' in custom visuals and if posible give me sample code. it is better to unstand to me.
Thank you
Kishore Kommi