cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Products Tree

Hi friends,

 

I have this table with parents and two levels of childs, and some information about childs 

 

PepitoTratado_0-1596826189309.png

 and I was triyng to build a table to show the hierarchy in two different ways

PepitoTratado_1-1596826235809.png

I want my final table like this, with quantities by level :

 

 

PepitoTratado_1-1596828053773.png

Here is my power bi sample

 

https://drive.google.com/file/d/1xKZUcsW5uS15CPaX6-cLu8wy1TjL1jYE/view?usp=sharing 

 

Thanks in advance

 

 

2 REPLIES 2
Highlighted
Super User IV
Super User IV

@PepitoTratado , refer if these can help

https://www.youtube.com/watch?v=VKkN-FF66Zw

https://radacad.com/removing-blanks-from-organizational-ragged-hierarchy-in-power-bi-matrix-visual



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted

Hi, thanks for your suggestion.

 

In my main real table, 1 parent may have many childs and 1 child may have many parent, that's why I made columns levels in my sample 

 

Very good your suggestion, thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors