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
pankajsonkul
Helper I
Helper I

how to read visual level filters in power bi embedded application

Can We apply custom filter at visual level if yes then 

how we can read number of  visuals level filter in page.

Like following code we read current page filters

CurrentPage.getFilters()
.then(function (filters) {

}

});

so is there any similar functionality read visual level filter.

Thanks in advance.

1 ACCEPTED SOLUTION


@pankajsonkul wrote:

Thanks for reply,

So is there any other way to support custom visual at visual level?

And Have you any idea when PowerBI.js support getFilters and setFilters function for visual level

or Page.GetVisuals() function?

 


@pankajsonkul

Neither for built-in visuals nor for custom visuals. The visual level filter seems not on the recently develop roadmap, see the confirmation from dev team at Visual Filter. You can add your comment if that feature is required for your.

View solution in original post

4 REPLIES 4
Eric_Zhang
Employee
Employee

@pankajsonkul

Even though Understanding the object hierarchy mentions getVisuals and setFilters for visuals, however it seems not implemented at this moment, see Visual Filter.

 

Also I don't find any function in PowerBI.js to getFilters for visuals except for pages and reports. 

 

 

Thanks for reply,

So is there any other way to support custom visual at visual level?

And Have you any idea when PowerBI.js support getFilters and setFilters function for visual level

or Page.GetVisuals() function?

 


@pankajsonkul wrote:

Thanks for reply,

So is there any other way to support custom visual at visual level?

And Have you any idea when PowerBI.js support getFilters and setFilters function for visual level

or Page.GetVisuals() function?

 


@pankajsonkul

Neither for built-in visuals nor for custom visuals. The visual level filter seems not on the recently develop roadmap, see the confirmation from dev team at Visual Filter. You can add your comment if that feature is required for your.

Thanks for Reply

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.