Forum Discussion
Create SelectionId for Matrix data
- 9 years ago
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
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
- Anonymous7 years agoNot applicable
The link is missing, and we are stuck exactly here.
Any tips?
- v-viig7 years agoCommunity Champion
This one is for <= API 1.13.0: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/d7e094c1d10d2445d66fbaf3b94e3f5e2bae5fec/src/sunburst.ts#L503
That one is for >= API 2.0.0: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/41cfe43d2402330d4d60c16caa17d391635014e8/src/visual.ts#L513
The main difference here is how queryName is populated.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals