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

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

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.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.