Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |