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
z3r0c00l
New Member

Have a table of data, Power BI not recognizing time-series

Hey I've never used Power BI so guide me please.

I must be missing something, because I have a pretty simple table of data, wherein the columns are dates and each row is a different test. I want to visualize how the test data changes over time.

I've stripped down the spreadsheet to be as simple as possible, yet Im not able to get a line-chart showing all the data from all the tests.

Here's what my data looks like:

Screenshot 2023-11-01 at 2.09.11 PM.png


See, every row is a certain test...

Every column is a date...

And I just want to put it all in a line-chart, wherein each test is shown as a line, on its own independent axis.

When I import it I get this:

Screenshot 2023-11-01 at 2.11.52 PM.png

Then I drag a line-chart over to the canvas and I get this:

Screenshot 2023-11-01 at 2.12.59 PM.png

So, I'd appreciate any pointers.

Thanks

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hello! You should have the data flattened/unpivoted so that you have a Column called Test and the values are the test name, a column that has the date, and a column that has the test results. You can unpivot in Power Query, but if new columns continue to get added to the source data, you will need to continue to update your model to account for the new column getting added in. Ideally, the source data is unpivoted, or has every column in it ahead of time (or at least as many as possible so that it limits how many times you need to manually update your model). Then you can add in a date_dim table for best practice and do your time-intelligence.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
audreygerred
Super User
Super User

Hello! You should have the data flattened/unpivoted so that you have a Column called Test and the values are the test name, a column that has the date, and a column that has the test results. You can unpivot in Power Query, but if new columns continue to get added to the source data, you will need to continue to update your model to account for the new column getting added in. Ideally, the source data is unpivoted, or has every column in it ahead of time (or at least as many as possible so that it limits how many times you need to manually update your model). Then you can add in a date_dim table for best practice and do your time-intelligence.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





z3r0c00l
New Member

Alright, I think I need to pivot my data. Am I getting warmer?

z3r0c00l
New Member

This sub-forum alone gets at least 10 posts / hour.
That either means that Power BI is really popular or Power BI has really bad documentation...

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.