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
Ok found something very strange, when debuggin identity object looks like this
DataView looks like this
I am confused :)
It's expected change that was made as a part of performance optimization for Custom Visuals API 2.x.x.
How are you generating a SelectionId?
I'm asking because the key property is not required to generate a SelectionId.
One possible break is with table and matrix mappings. You can have a look at this code sample to modify your code accordingly if you use table or matrix mappings.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- mikihiir7 years ago
Helper III
Hi, thanks for replaying
This is how i create SelectionId ->
I am using categorical mapping
- v-viig7 years ago
Community Champion
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
- Anonymous7 years agoNot applicable
Hello,
Could you please share with me your code?