ck-corp / TreePowerBIVisual

8 stars 0 forks source link

When an item has multiple parents, only one displayed version will show the child items #18

Open AlexvdElshout opened 4 months ago

AlexvdElshout commented 4 months ago

Hello,

I have a tree in which several items have multiple parents. The items are shown correctly as child of the multiple parents, but only one displayed version will show the child items of that item.

I would like all displayed versions of an item within the tree to show the child items.

Kind regards, Alex

kwein123 commented 2 months ago

How does the data look for items with multiple parents? Do you have multiple ParentId fields?

AlexvdElshout commented 1 month ago

Yes, there are multiple parent id's. That part is working fine by the way, but the repetition of the branch that is only one time in the data is not working. We use the visual for our asset tree, so not for financial data. For example: we have a root with multiple branches. Several branches have the same sub-structure in the branch. Then the start of that sub-structure has the multiple different parents, but the rest of that sub-structure is fully the same and only exists once in the data.