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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
h2022
Frequent Visitor

Data Mining Us Census Data

Hi everyone,

 

I am looking at some data sources, and I would love to be able to get the quickfacts info from the US census data into my Power BI report. Example: https://www.census.gov/quickfacts/fact/table/US/PST045222

 

I can get this specific URL to import, but then I only have for all the US as a whole. I would ideally like to be able to have all the different states, but I'm not sure how to do that because you have to select each state individually in the drop down and there doesn't seem to be a nice dataset to import. Has anyone done something similiar or have any ideas?

 

Thanks!

4 REPLIES 4
v-jingzhang
Community Support
Community Support

Hi @h2022 

 

I notice that if we use the input box to enter a state/city/..., the URL will be updated to include that state/city/... and the table will include columns of data for all these regions. 

vjingzhang_0-1688614325387.png

 

To have data of all states, you may need to prepare a list of URLs in advance, which include all state name strings. Then query data from these URLs to get all the data. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Hmm yeah, I was hoping there was an easier way - like how they offer APIs for alot of their demographic data. I might just be better off going that route.

I agree, it would be easier with APIs. Have you found whether this website provides APIs for these data? I haven't found any yet. 

Actually they do offer an API for the American Community Survey data which has alot of the same demographic data in it, I tried that and it works. https://www.census.gov/data/developers/data-sets.html

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.