Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Combine matrix and table

I have a matrix with a project hierarchy in one column, but is it possible to also show parametres in a second column?

 

The data looks like this:

 

Project Lvl 1Project Lvl 2Produkt NameProject Costs
PROJECT000000: AdministrationPROJECT000000_02: AdminConstruction11343
PROJECT000001: ConcretePROJECT000001_01: HoursRig10819
PROJECT000001: ConcretePROJECT000001_02: AdminRig16668
PROJECT000002: SteelPROJECT000002_01: HoursConstruction916
PROJECT000002: SteelPROJECT000002_02: AdminConstruction3206
PROJECT000003: Wood workPROJECT000003_01: HoursConstruction18688
PROJECT000003: Wood workPROJECT000003_02: AdminConstruction55476
PROJECT000003: Wood workPROJECT000003_03: MaterialRig688031

 

 

and i would like to display it like this, with the steped hierarchy in one d

 

 

 

 

  • Hi Anonymous ,

     

    To what I can see from the image you provide you want to have an additional row in the headers but the value in the values.

     

    Add a column with blank values to your model then just put your matrix in the following setup:

    • Rows:
      • ProjectsLevel1
      • ProjctsLevel2
      • BlankColumn
    • Values
      • FirstProduct Name
      • Sum ProjectCosts
    • Turn off subtotals

    Result below:

     

8 Replies

  • Hi Anonymous ,

     

    To what I can see from the image you provide you want to have an additional row in the headers but the value in the values.

     

    Add a column with blank values to your model then just put your matrix in the following setup:

    • Rows:
      • ProjectsLevel1
      • ProjctsLevel2
      • BlankColumn
    • Values
      • FirstProduct Name
      • Sum ProjectCosts
    • Turn off subtotals

    Result below:

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      MFelix  Thank you! That turned out perfectly 🙂

    • Anonymous's avatar
      Anonymous
      Not applicable

      MFelix  only on eissue. When I click on the + sign on the lowest level I get this error.

       

       

      Do you know how I can work around this? The model is simple with everything in the same table, just used for this example.

      • MFelix's avatar
        MFelix
        Super User

        Hi Anonymous ,

         

        On the lowest level as you can see from my visualization there is no + sign, can you tell me what are the columns you are using for the hierarchy on row level.

  • Anonymous's avatar
    Anonymous
    Not applicable

    MFelix 

    Another problem occured, because I do not have access to create new columns in the dataset.

     

    Is there a DAX-formula that can do the same trick?