Forum Discussion

Micgig's avatar
Micgig
Frequent Visitor
4 years ago
Solved

Displaying a column's fields as column headers in a table

Hi everyone,

 

Hope you are well.

As captioned in the title, I'd like to display a few columns normally and then from a certain point of the table on, I'd like to have another column be displayed as X axis.

Let's say I have 3 columns of the following type:

 

 

NumberDateColor
1January 1Red
2January 2Yellow
3January 3Blue

 

What I'd like to display in "table" or "matrix" should be something like this:

NumberDateRedYellowBlue
1January 1X  
2January 2 X 

 

Is there a way on PowerBI to arrange this?

Thank you so much!

 

Michele

  • Micgig

     

    You should be able to use the Matrix visual and drag the "Color" field into the "Columns" of the visual's fields.  It will result in each colour being the column title.

     

    Hope this helps 🙂

1 Reply

  • TheoC's avatar
    TheoC
    Icon for Community Champion rankCommunity Champion

    Micgig

     

    You should be able to use the Matrix visual and drag the "Color" field into the "Columns" of the visual's fields.  It will result in each colour being the column title.

     

    Hope this helps 🙂