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.
For some context, I am pulling data from an API which lists the CPU usage on an hourly basis. There is 72 records in the date and values column, or at least there should be when I expand it.
However, I get 730 rows when I just expand the date.
This is the JSON format:
Any ideas? Spent far too long already trying to get it to match
Why are you expecting 72 records? NOTE a Record has a special meaning in Power Query as it's a data structure so I assume you mean rows of data.
That JSON shows 5 data points per response so I'm assuming each list in the Timestamps and Values column contains these. Extracting the data in the ists will giev you as many rows as there is data.
What is your expected final result/what does the table look like at the end?
Regards
Phil
Proud to be a Super User!
Sorry if I am not making sense, I think I would expect 730 rows in actuality. So when I expand the timestamps column, it brings out 730 rows which is correct based on the fact that there is chronological hourly timeline.
However, I have noticed when expanding the results.data.values, it then duplicates it
There should only be one data value for each timestamp but now get multiple duplicate values which isn't right. When I use a visualisation on this dataset, I then just get a solid static line which of course isn't accurate.
Any ideas, appreciate the response 🙂
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 |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |