cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to Change the Layout of a Table to Have the Date as the Header

Hello everyone!

 

I am wanting to changed my table so that the date is the header row, and then the rest of the columns are beneath is with their headers on the far left like it's shown in this image below: 

 

PBI-Question.png

I've read you can unpivot columns, but would I unpivot every single column or is there a better way?

 

Much appreciated,

 

- Matt

1 ACCEPTED SOLUTION
RicoZhou
Community Support
Community Support

Hi @Anonymous ,

 

Does your table look like as below?

RicoZhou_0-1660723086089.png

Here I suggest you to select [Date] column in Power Query Editor and then unpivot other columns.

RicoZhou_1-1660723204311.png

Result is as below.

RicoZhou_2-1660723275907.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
RicoZhou
Community Support
Community Support

Hi @Anonymous ,

 

Does your table look like as below?

RicoZhou_0-1660723086089.png

Here I suggest you to select [Date] column in Power Query Editor and then unpivot other columns.

RicoZhou_1-1660723204311.png

Result is as below.

RicoZhou_2-1660723275907.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Use option in Matrix - Switch Values on row or show values on rows

 

do not take anything on row, take month year on the column

 

or refer if calculation group can help for more complex display

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0



Learn Power BI - Full Course with Dec-2022, with new DAX functions like Window, Index, Offset !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Formatted Profit and Loss Statement with empty lines

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.