Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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-sele...) 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).
Solved! Go to Solution.
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
At least, seems you can not use the API. Just leave a comment on GitHub.
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
The link is missing, and we are stuck exactly here.
Any tips?
This one is for <= API 1.13.0: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/d7e094c1d10d2445d66fbaf3b94e3f5e2bae5fec/...
That one is for >= API 2.0.0: https://github.com/Microsoft/powerbi-visuals-sunburst/blob/41cfe43d2402330d4d60c16caa17d391635014e8/...
The main difference here is how queryName is populated.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals