Forum Discussion

Yug's avatar
Yug
Advocate I
2 years ago
Solved

Create hierarchy table based on columns from table A to create a PnL table

I have a table where my PnL elements are all stored as columns as in below table "Table A". And I would like to create a hierarchy table connected to this table so that I can create a voyage pnl visu...
  • MFelix's avatar
    2 years ago

    Hi Yug ,

     

    For this you need to unpivot your data and remove the Voyage and Cargo result values (since they are totals) the final resul will look like this:

    Then you can do the relationship and measure to calculate correctly.