Thank you Daniel for your response. You brought up some interesting points that I will find useful, but they don't resolve what I'm after. I don't think I was clear enough in asking my question.
I'm working with hierarchies in a matrix grid and I would like to be able to programatically control expand up and down.
I know of only selectionManager.select(dataPoint) for drilling down. I haven't found a method (or API) to drill up, or drill to a specific level, or return to top level dataView.
I can use selectionManager.select(dataPoint) to drill down on the current dataView. But that brings a new dataView and even if I held onto the previous dataView, Power Bi only knows about the current dataView. If I attempt to drill down on another dataPoint from the previous dataView it has no meaning to Power Bi and nothing is returned. A key issue is that the dataPoint identifiers are unique only to the dataView and not to the data that they represent. So a hierarchy member in different dataViews can have different identifiers. When I saw the UpdateId (even though not officially exposed in the definition) I was hoping it may be a way to reference a dataPoint from a previous dataView in a select call.
At a minimum, I'm looking for code that can get Power Bi to return to the top level dataView. I can then from there navigate down to where I want to go.
As an aside, in regards to VisualUpdateType, I've been confused by the meaning of VisualUpdateType.style=16. I assumed it meant changes made in the Format/Style panel of the editor. But when I make a change, I'm getting type = data (2), not style (16). Can you tell me what style represents, or is there another issue taking place?
Thanks again for your timely response and any further help.
Regards,
Bruce