API 1.7 for custom visuals is available in the PowerBI-visuals-tools.
This version introduces the much anticipated advanced filtering API, to enable semantic queries on the Power BI data model.
Start by adding the advanced filtering reference to your project, and then you can go ahead and use it in your custom visual.
If you need a more comprehensive tutorial with samples, use our sample slicer custom visual, which already includes the use of the advanced filtering API.
If you already have the developer tools, don't forget to update your version.
Senior Program Manager
Power BI Custom Visuals
@tzvikei I tried to create a custom visual based on this template
pbiviz new My Visual Name
I get an error in the constructor because the options parameter is undefined. Why is this, were are this options coming from?
You shouldn't use space at name of your custom visual.
It would be better to use "MyVisualName" instead.
Microsoft Power BI Custom Visuals
@v-viig I appreciate you following up. I got my issue posted and resolved in another ticket. It was not related to the name, actually it seems that the tool correct the name automatically by removing spaces.
Hierarchy Slicer - does not work across report tabs . Is there anyway to get that updated?
@u02cm62 Have you fcaed this issue in Power BI Desktop or Power BI service?
What version of Power BI Desktop do you use?
BOTH in the service and desktop
Feb 2018 - Desktop version
Does this sample report work on your machine in Power BI Desktop and Power BI Service?
What is a report tab? Is that a report page?
Sync slicers are not yet supported for custom visuals. We are working to add that support soon.
It's called a hierarchy slicer in the custom visuals.
If I'm not mistaken you want Hierarchy Slicer to filter data on all of report pages. Is that correct?
If so, this is called Sync Slicers feature that is not supported for custom visuals so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.