Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm coding an hierarhical tree custom visual using matrix dataview mapping and want to change, at user's will and from within the custom visual, the order of the fields in the grouping datarole, as seen in the decomposition tree visual and also comercial ones like xViz's hierarchichal tree (https://xviz.com/visuals/hierarchical-tree/).
For instance, if you have this situation in the decomposition tree visual:
After you choose 'Nível 4', the ACTUAL ORDER of the fields in the right pane is changed:
My guess is that by doing this, my visual will receive a new matrix mapping tree with the recalculated nodes, but I haven't been able to figure out how to do so. I've tried changing the dataViews.matrix.rows.root directly and updating the visual but to no avail.
Again, it's a feature seen in comercial visuals so I'm guessing the current API allows it.
Thanks in advance.
Hi @ewaghabi
Well, this is beyond my level. You can also post this topic at Developer - Microsoft Power BI Community. Users there have more experience in developing custom visuals. You may get some ideas there.
Regards,
Community Support Team _ Jing
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.