Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Problem to get data from NBA website

I'm trying to get the data for the 2019-20 season players. I'm using the CSS selector, but I have a problem with the table that the BI power identifies, I can't get the data beyond the player 50 in the ranking.
Is there a way to select all the data in the table? Even if you change the selection in the selection box (As shown in the figure), the url does not change.

 

nba.png

 

 

 

 

 

 

When inspecting the html code, I noticed that in the highlighted section of the figure below, the code change occurs when we select a different value in the checkbox.

 

claudioaf_0-1593477221116.png

 

Link to website: https://stats.nba.com/players/traditional/?sort=PTS&dir=-1

 

Could someone help me with this problem?

 

 

 

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

You could try Python script and Api.

https://pypi.org/project/sportsreference/

https://www.danielforsyth.me/exploring_nba_data_in_python/

 

Best Regards

Maggie

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors