cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Matt-Snyder
Frequent Visitor

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 @Matt-Snyder ,

 

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 @Matt-Snyder ,

 

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

@Matt-Snyder , 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



Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Learn Power BI P&L Statement || Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s ||
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!!! How to get Quick Help !!
Resources | Master Power BI !! Expertise Power BI !! Power BI For Tableau User !!

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.