Forum Discussion

Roberto93's avatar
Roberto93
Frequent Visitor
7 years ago

Special Parent Child Reporting Visualizer

I need to reproduce exactly this mock-up in pbi, where i have a hierarchy, the possibility to hide/view only some selected levels, a measure that count Node_ID and the percentage for the total column, and aggregating the parent Node_ID "etichetta":

The starting point is a table in which i have Node_ID, Parent_Node_ID, Path, Path_length and as many columns as the hierarchy's lenght where each column contains the same reported here, and a measure that count how many times a value is counted for each Node_ID.

 

What i did was unpivoting the columns containing the labels in the source table, create a hierarchy, and use a filter for view/hide levels. What i wasn't able to reproduce was the aggregation for the parent's, instead i have orrible ripetition of the same Node_ID, as you can see here:

As you can see i'm far from reaching the mockup and also its simplicity.

 

4 Replies

    • Roberto93's avatar
      Roberto93
      Frequent Visitor

      Data source

      LevelUnpivoted columnlevel 1level 2level 3
      3DABD
      2BABD
      1AABD
      3EABE
      2BABE
      1AABE
      3FACF
      2CACF
      1AACF

      Result

      level 1count value%valuelevel 2count value%valuelevel 3count value%value
      A3100%B266%D133%
            E133%
         C133%F133%

      possibility to remove levels and maintaining the parent child relationship