Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi! I am currently developing a custom visual. One of the features that I need is to drilldown on click of a data point. A behavior like the "histogram" default component would be perfect (the user can select data, then if [s]he clicks on "drill mode" can drill down contextual data).
Trying out the sampleBarChart component from the Microsoft's tutorial, I get a strange behavior:
- In PowerBI Desktop everything works as expected.
- In PowerBI Online (IE11/FF/Chrome) it does nothing.
Strangely enough, if I manually force the refresh of the data (by for example resising the visual - edit mode only) I get the right data! For this reason I guess a possible workaround would be a simple refresh... But AFAIK it is not possible to trigger a refresh on a visual by code...
I am attaching a pbix with a dumb dataset to reproduce the issue. I had to enable drilldown on the sampleBarChart visual: I simply added
"drilldown": { "roles": ["category"] },
in the capabilities and built it.
Can anybody help? Is there any workaround?
Attachment:
- PBIX (I could not upload it here...) https://www.sendspace.com/file/1oo07q
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.