Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Stuck with "nested" records

$
0
0

Hi,

 

I have been trying to develop an interactive dashboard to visualise performance for overwatch players, however i have gone stuck.

Firstly i created a hero dimension with the basical stats in form of playtime etc using the following api call:

 

Json.Document(Web.Contents("https://api.lootbox.eu/pc/eu/donatellow-2669/competitive-play/heroes"))

 

Afterwards i wanted to get performance by each individual hero by using the following API call (as illustrated in this article: http://datachix.com/2014/05/22/power-query-functions-some-scenarios/):

 

Json.Document(Web.Contents("https://api.lootbox.eu/pc/eu/"& accountName &"/competitive-play/hero/"& charString & "/"))

 

Where accountName and charString is identifier for the account and which character. However, this returns the following result: 

recordsError.png

I have tried using the expand button which leads to the following result, which is not what i want:

expandError.png

Each record contains the following columns which i want to store directly in my table:

stats.png

Any suggestions to how i achieve this? 


Viewing all articles
Browse latest Browse all 213819

Trending Articles