microsoft / PowerBI-visuals-tools

Contains tools for building/packaging Power BI visuals
https://www.powerbi.com
MIT License
334 stars 150 forks source link

4.1.0 Matrix Expand Collapse not working in packaged version #410

Closed vicktor3 closed 1 year ago

vicktor3 commented 2 years ago

I created a visual with Matrix expand collapse feature. I was successful in creating it. In development mode it works like a charm but when I try to package it, it gets stuck and expand collapse does not work on calling this.selectionManager.toggleExpandCollapse(nodeSelectionId) and the same throws error in desktop mode.

visuals-tools: 4.0.4 visuals-api: 4.1.0

I have given a link to the repo below and the data set I used.

https://github.com/vicktor3/matrixviz mode2AutoGen.csv

Reference: https://docs.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings#expanding-and-collapsing-row-headers

AleksSavelev commented 1 year ago

@vicktor3 Thank you for this issue.

It should work fine in the newest version. You can reach out to pbicvsupport@microsoft.com or create a new issue if the problem still appears on your end.