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
Hello.
I have a custom visual with a slicer filter and an svg element with nodes and links(please see image below)
I have an onclick event in the circle, I have the selectionId for the element
PowerBI SVG
Hello,
Sorry for the late answer.
I see that my colleague has already answered you by e-mail so, I will transfer his answer here.
"If you try to filter data in slicer, that works with metrics -- it's impossible.
Visuals can't filter data in slicer visuals by using SelectionID's.
You need to use Filter API:
https://docs.microsoft.com/en-us/power-bi/developer/visuals/filter-api
"
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
Hello,
after call applyJsonfilters, how can I update the data in options.dataViews[0] ?
hello,
I've apply a basic filter using this code:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |