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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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