Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.