Power Query - PDC Darts Player Results

Post Reply
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

This Power Query solution simply grabs a Players last 10 match results, with average thrown scores & games against their Opponent.

PDC Darts Player Results.xlsx

There are 2 Tables for Player A and Player B

PDCdarts.png

To enable, select a Player from each pull-down menu.

PDCdartsplayer.png

Once you have selected the H2H Players to update, go to the Data Tab and select "Refresh All".

Basically, it dynamically updates the PDC Order of Merit of 168 Players URL in the 'PlayerList' worksheet and with a simple function it grabs each Players data and updates both Tables accordingly.
You do not have the required permissions to view the files attached to this post.
User avatar
Euler
Posts: 24822
Joined: Wed Nov 10, 2010 1:39 pm
Location: Bet Angel HQ

Good stuff again.

I don't suppose you have come across any dart by dary scores on your travels?
delboy1234
Posts: 3
Joined: Wed Jul 22, 2020 2:04 pm

Thanks for the share.
I have just had a play but it throws up the following error. Power Query is not my thing so wasn't sure what it relates to.
You do not have the required permissions to view the files attached to this post.
User avatar
MemphisFlash
Posts: 2167
Joined: Fri May 16, 2014 10:12 pm
Location: Leicester

i get that as well.
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

delboy1234 wrote:
Tue Apr 23, 2024 11:34 am
Thanks for the share.
I have just had a play but it throws up the following error. Power Query is not my thing so wasn't sure what it relates to.
I've not seen that error before and I can only assume it's probably because of your Excel version. I subscribe to O365 and get regular updates/upgrades.

I could imagine if I was actually using what they call "Add tables from example" but in this case I simply imported the Table that was being suggested when I applied the URL of the website.

As I don't have an older version of Excel I cannot replicate it. Maybe Memphis could try with his version as the solutions I post usually work for him (and others)
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

Euler wrote:
Tue Apr 23, 2024 11:28 am
Good stuff again.

I don't suppose you have come across any dart by dary scores on your travels?
Alas no...been searching for a long time now and can't find any results/stats that give a dart-by-dart score. You would think someone would have thought to do this :D
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

paspuggie48 wrote:
Tue Apr 23, 2024 6:47 pm
delboy1234 wrote:
Tue Apr 23, 2024 11:34 am
Thanks for the share.
I have just had a play but it throws up the following error. Power Query is not my thing so wasn't sure what it relates to.
I've not seen that error before and I can only assume it's probably because of your Excel version. I subscribe to O365 and get regular updates/upgrades.

I could imagine if I was actually using what they call "Add tables from example" but in this case I simply imported the Table that was being suggested when I applied the URL of the website.

As I don't have an older version of Excel I cannot replicate it. Maybe Memphis could try with his version as the solutions I post usually work for him (and others)
An example of what I mentioned is kind of explained here re: certain functions/capabilities with versions https://answers.microsoft.com/en-us/mso ... ce1c9f9c4a

Out of interest I saved the workbook as a 97-2003 .xls version and barring the compatability message the query still worked for me.

Just in case, here it is
PDC Darts Player Results.xls


Try also your privacy settings. Data Tab > Get Data > Query Options > Privacy and select 'Always Ignore Privacy Levels'
You do not have the required permissions to view the files attached to this post.
delboy1234
Posts: 3
Joined: Wed Jul 22, 2020 2:04 pm

I have just tried the other file you uploaded but still get the same error. Unfortunately selecting Ignore Privacy Levels didn't help either.
I will have a look at updated my copy of Excel.

Thanks
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

delboy1234 wrote:
Wed Apr 24, 2024 6:52 pm
I have just tried the other file you uploaded but still get the same error. Unfortunately selecting Ignore Privacy Levels didn't help either.
I will have a look at updated my copy of Excel.

Thanks
Sorry delboy1234, as I said I've not seen that error before. See how you get on ;)
User avatar
MemphisFlash
Posts: 2167
Joined: Fri May 16, 2014 10:12 pm
Location: Leicester

i have office 365 and getting the message.
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

paspuggie48 wrote:
Tue Apr 23, 2024 6:48 pm
Euler wrote:
Tue Apr 23, 2024 11:28 am
Good stuff again.

I don't suppose you have come across any dart by dary scores on your travels?
Alas no...been searching for a long time now and can't find any results/stats that give a dart-by-dart score. You would think someone would have thought to do this :D
There is a Timeline with scores. Alas, I cannot connect to it with PQ. Maybe some whizzo Python code can get it?

Capture.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

MemphisFlash wrote:
Wed Apr 24, 2024 9:48 pm
i have office 365 and getting the message.
Strange for sure Tom
Mike Oxlong
Posts: 8
Joined: Sat Jan 06, 2024 3:14 pm

paspuggie48 wrote:
Thu Apr 25, 2024 9:13 pm

There is a Timeline with scores. Alas, I cannot connect to it with PQ. Maybe some whizzo Python code can get it?


Capture.PNG
Looks interesting, where did you find this, PDC TV?
User avatar
paspuggie48
Posts: 650
Joined: Thu Jun 20, 2013 9:22 am
Location: South-West

PDC Website Mike, Livescores section
Post Reply

Return to “Excel Power Query”