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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.