Forum Discussion
Husain
6 years agoAdvocate I
Selections for matrix data view mapping
Hi, I am trying to create selections using SELECTION MANAGER for a custom visual which uses matrix data mapping but to no avail Here are the relevant excerpts. Would be so grateful for your t...
Anonymous
6 years agoNot applicable
try this https://community.powerbi.com/t5/Developer/multi-selection-with-AND-operator/m-p/781012#M20577
host.createSelectionIdBuilder();
make that code inside each looping
root.each(d => {
let builder = ... ; // create builder here
d.selectionId = builder.withMatrixNode(d, dataViews.rows.levels).createSelectionId();
})