cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HCC1
Frequent Visitor

Help with Web Query!

Hi Everyone,

 

I am in need of some help connecting to a web source that I can have updated every quarter.

 

I can establish a web query to the following link: https://data.bls.gov/cew/apps/table_maker/v4/table_maker.htm#type=3&year=2022&qtr=2&own=5&ind=1011&s...

 

, and it is able to analyze the chart in HTML. My issue is that it only displays 75 rows and I need it to display the full table. There is no pagination in the link. See the screenshot below:

HCC1_1-1671837570434.png

 

 

Is there any htlm I can write so that Power Query understands to retrieve the FULL table and not the first 75 rows of data?

 

Thank you!

Happy Holidays!

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There is no need to screen scrape.  They provide a data API  Getting Started : U.S. Bureau of Labor Statistics (bls.gov)

as well as prepackaged data files QCEW Data Files : U.S. Bureau of Labor Statistics (bls.gov)

View solution in original post

2 REPLIES 2
tackytechtom
Super User
Super User

Hi @HCC1 ,

 

I tried to find a way to change the row display settings in URL itself, but did not manage to do so...

 

Other people tried to use an API:

Bringing in api data from Bureau of Labor statisti... - Microsoft Power BI Community

 

And here they used the URL in combination with a function:

Solved: Trying to connect to Bureau of Labor Statistics, b... - Microsoft Power BI Community

 

I saw, however, if you press the Download Source Data button, you can get the underlaying source data in the csv format. This one you can call directly from the URL, too. Could this be something for you?

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




lbendlin
Super User
Super User

There is no need to screen scrape.  They provide a data API  Getting Started : U.S. Bureau of Labor Statistics (bls.gov)

as well as prepackaged data files QCEW Data Files : U.S. Bureau of Labor Statistics (bls.gov)

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors
Top Kudoed Authors