cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ovdenysiuk Regular Visitor
Regular Visitor

Re: Did something change with SelectionId, the key looks different now

There aren't examples with the table. I try to use above the recommendation from this task.

But selectionManager doesn't select data. I try to use 

this.selectionManager 

or 

let selectionManager = this.selectionManager; 
Microsoft.Maps.Events.addHandler(node, 'click', function (e: Microsoft.Maps.IMouseEventArgs) { console.log('marker identity is ', sensorData.selectionId); debugger; selectionManager.select(sensorData.selectionId, false).then((ids: ISelectionId[]) =>{ console.log(ids); }).catch(e => console.error(e)); });

 Nothing helps.

v-evelk Senior Member
Senior Member

Re: Did something change with SelectionId, the key looks different now

There are two unclear moments:

 

1. Does your click event happen at all?

2. You mentioned dashboard, but selection will be aplied for report page data only. I meant that you cannot filter one report by filters from other report as I know.

 

Please clarify these moments.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

v-evelk Senior Member
Senior Member

Re: Did something change with SelectionId, the key looks different now

Well,

 

I see that selection for table requires some hack.

Hopefully, a new API 2.5 which will be released next week contains .withTable method of the builder that must solve selection issues with Table mapping.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

ovdenysiuk Regular Visitor
Regular Visitor

Re: Did something change with SelectionId, the key looks different now

Ok,  thanks

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 377 members 3,660 guests
Please welcome our newest community members: