Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Read Filter in Custom Visual

Hi,

 

Is it possible to read the filter settings in the custom Visual? So not only receiving filtered data, but actually to read it somehow?

The custom visual should react to the filter, but not only to the new data provided. It is needed to navigate in a map in a read-only report.

 

If I'm correct the filter API, does not provide read functinality. The api only sets filters.

Also the InteractivityFilterService does not do the job.

 

 

 

import { InteractivityFilterService } from "powerbi-visuals-utils-interactivityutils/lib/interactivityFilterService";

 

 

 

And the options.jsonFilters property in the update-function is always empty.

 

I saw in an example the following: Capabilites.json

 

 

 

"selfFilter": {
                    "type": {
                        "filter": {
                            "selfFilter": true
                        }
                    }
                }

 

But this does not provide anything.

 

I also tried the following (which is also always empty)

 dataViewObjects.getValue(data.metadata.objects, Filter.filter)

 

Maybe someone can provide an good example, because all examples from microsoft are outdated.

 

Thanks.

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.