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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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
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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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