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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.