Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Formatting Data in a table

Hello I am trying to figure out how to get my table information to display like this:

 

 

But my table ends up looking like this:

 

p.s I asked a similar question previously, and was suggested to a matrix instead of a table and I ended up getting a matrix that looks like this: ( Which is still something I do not want)

 

Thanks for any help!

6 Replies

  • kcantor's avatar
    kcantor
    Community Champion

    Anonymous 

    When using the matrix be sure to use the stepped layout and then use the drill down to next level of the heirarchy instead of just expanding down. It should give you the results you are looking for.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      That does not seem to resolve my issue. When I click the drill down button and click on any of the names, nothing happens. 

  • I'm not sure to understand your question because one of the basic rule of data analysis is to avoid blank cells

    If you have all your cells populated in Power Query that great.

     

    But to present your data with a hierarchy (like you want), you just have to use the tool Pivot Table in Excel or Matrix in Power BI desktop.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Background--> There are a bunch of projects currently being worked on, and there are different team members per project. One project may have 2 BA's. 1PM and 0 TL's. Another project may have 1BA,1PM, and 1TL and so forth. 

       

      I can easily identify who is on each project, but the problem is when I attempt to display who is on a specific project I get a format that is undesirable.

       

      For instance when I select the project "Bob's Buttons" I want to know who is on this project. 

      However, If I use a  table my information comes back like this: 

       

      What I want is this:

         

      Does that help?

      • FredLEGUEN's avatar
        FredLEGUEN
        Helper III

        I don't think you can do that in Power Query but with a Pivot Table it's a piece of cake.

        1. Connect your source of data to Excel

        2. Create a pivot table connect to your source of data

        3. Drag & Drop the 3 fields in the "Rows" area

         

        And that's it. Nothing more to do