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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.