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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
v-rzhou-msft
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
v-rzhou-msft
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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.