Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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:
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:
Then I drag a line-chart over to the canvas and I get this:
So, I'd appreciate any pointers.
Thanks
Solved! Go to Solution.
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.
Proud to be a 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.
Proud to be a Super User! | |
Alright, I think I need to pivot my data. Am I getting warmer?
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...
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
38 | |
31 |
User | Count |
---|---|
78 | |
64 | |
64 | |
49 | |
45 |