Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
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
1
2
Many thanks!
Solved! Go to Solution.
Hi @Anonymous
If after importing data, it shows as below, please select other columns except the dates columns, then unpivot columns
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.
Hi @Anonymous
If after importing data, it shows as below, please select other columns except the dates columns, then unpivot columns
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.
@Anonymous - Could be wrong, but seems like you need to unpivot your date columns in Power Query editor.
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.
You could use the UI function Use Headers As First Row, which is Table.DemoteHeaders.
User | Count |
---|---|
8 | |
6 | |
6 | |
5 | |
5 |
User | Count |
---|---|
9 | |
8 | |
6 | |
6 | |
6 |