Forum Discussion
Create SelectionId for Matrix data
Is it possible to create a SelectionID using the Matrix data mapping?
The tutorial covers Categories (https://github.com/Microsoft/PowerBI-visuals/blob/master/Visual/Selection.md#managing-selection-selectionmanager) and the following post suggests that it's not available for Table (http://community.powerbi.com/t5/Developer/SelectionId-for-table/m-p/76506/highlight/true#M2632).
I received some guidance on how to resolve this, you can create a DataViewCategoryColumn object based on your data. Here's an example: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/master/src/visual.ts#L147
4 Replies
- v-chuncz-msftCommunity Support
- garysweetingRegular Visitor
I received some guidance on how to resolve this, you can create a DataViewCategoryColumn object based on your data. Here's an example: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/master/src/visual.ts#L147
- AnonymousNot applicable
The link is missing, and we are stuck exactly here.
Any tips?