Hi all!
Currently I am developing a custom visual for one of my clients. 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?
Attachment:
- PBIX (I could not upload it here...) https://www.sendspace.com/file/1oo07q