Forum Discussion
Did something change with SelectionId, the key looks different now
- 7 years ago
It looks good to me.
What API version are you using? API 2.3.0?
If so, I suggest downgrading API version to API 2.2.0 just to make sure it is not related to API.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
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.
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
[email protected]
- v-evelk7 years ago
Microsoft Employee
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
[email protected] - Anonymous7 years agoNot applicable
Ok, thanks