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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Can't get SelectionManager to work

I'm working on a custsom visual and trying to switch from using `applyJsonFilter` to using `SelectionManager` to enable highlighting other visuals. I can generate selectionIds, and they work for setting up properties in the format pane. When I call

this.selectionManager.select(selectionId).then(v => {
  debugger;
});

when the debugger pauses, `v` looks correct compared to the selectionId I passed in, but nothing is highlighted or filtered in the report. The `getKey` method on the selectionId looks something like this:

{"MVP Data.Guid":[{"identityIndex":4}],"MVP Data.Room::Program":[{"identityIndex":4}]}[]

The column names are correct, but I'm not sure if something is missing? I'm also not sure where to go from here with debugging. Thanks for any suggestions!

 

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.