Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Merged Column Header

How to bring the above table structure in Power BI ? If it is a Matrix table visualization, please show an example with multiple merged column headers.

 

8 Replies

  • Hi Anonymous ,

     

    As you refer you need to use a matrix table and have a column with the categorization of your lowest values so that you are abble to get the next level. Now depending on the way you have the lowest level information (measures or coluns) the calculations can be done in different ways.

     

    Check a small example with Columns as values in your model. Be aware that I have made this within the same table but you can make the categories on a separat table.

     

    Also some trick was to make the Total columns for DIV and Budget Allocation hidden on the matrix by reducing the size of the columns.

    • dnlxiong's avatar
      dnlxiong
      Regular Visitor

      When I try to create a new matrix with my data, I cannot get the categorization to work. But when I copy and paste your visual, and then update your visual with my data, it works! Any idea why or how to create categorization with a new matrix visual? I wonder if I am not setting some properties correctly or something simple.

      • MFelix's avatar
        MFelix
        Super User

        Hi dnlxiong ,

         

        What do you mean by:


        dnlxiong wrote:

        When I try to create a new matrix with my data, I cannot get the categorization to work.


        When you create a new matrix visual by default the rows and columns are closed so you need to do the drill down:

         

        Is this that is happening? Can you post some images of the result when you add a new matrix please so I can try and check what can be happening.

         

  • I do not think in powerbi you can have values above columns

    refer : https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905

     

    Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
    Thanks. My Recent Blog -
    Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
    Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

    Connect on Linkedin

    • Anonymous's avatar
      Anonymous
      Not applicable

      Those are not values....those are just static headers which i need.

      • MFelix's avatar
        MFelix
        Super User
        Have you checked the option I have send on pbix file?