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

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
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.