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 Established Member
Established 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 Established Member
Established 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