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 make PowerBI gets dates in a row instead of a column

Hello everyone.

 

I´m new to PowerBI so my situation is this.

As shown on image 1, I have a table which has dates set as column headers, for the purpose of the data. However when I connect data, software doesn´t recognize this headers as dates and doesn´t make the usual summary (day, month or year options) as placed on image 2.

 

Is there a way PowerBI acknowlegde dates in rows instead of columns

 

11

22

 

Many thanks!

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

If after importing data, it shows as below, please select other columns except the dates columns, then unpivot columns

Capture11.JPGCapture13.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
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

5 REPLIES 5
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

If after importing data, it shows as below, please select other columns except the dates columns, then unpivot columns

Capture11.JPGCapture13.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@Anonymous - Could be wrong, but seems like you need to unpivot your date columns in Power Query editor.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

 

First of all many thanks for the quick reply!

The thing is Greg, that the dates are not in a column, but in a row and that is how I would like them to be. 

I can unpivot dates but what you recommend to place as header? 

If this is how you would like them to be then you cannot use Power BI. Keep using Excel.

If you want the data to be usable in Power BI then you will want to follow Greg's advice.

Anonymous
Not applicable

You could use the UI function Use Headers As First Row, which is Table.DemoteHeaders. 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.