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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.