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
DAX_pbi_learner
Frequent Visitor

Analyzing Monthly Population Data

How to visualize monthly population data?
7m ago

Hi Everyone,

 

I'm having a touch time figuring out how to visualize a dataset that has monthly population and demographic data by city in a state. Here's an example of the data I'm dealing with:

 

For each month of a given year, there are population counts by municipality, education level, race. My issue is, when I try to use charts, Power BI automatically takes the 'Sum of Count' which is not what I want to see. Instructions on removing the summarization for variables is not working.

yearmonthcitycoderaceeducationcountQuarterDateforPowerBI
202011sahs99Q11/1/2020
202012eahs18Q11/1/2020
202013cahs13Q11/1/2020
202014aahs11Q11/1/2020
202015pihs6Q11/1/2020
202016sahs26Q11/1/2020
202017eahs840Q11/1/2020
202018cahs5Q11/1/2020
202019aahs2Q11/1/2020
2020110pihs35Q11/1/2020
2020111sahs2Q11/1/2020
2020112eahs4Q11/1/2020
2020113cahs2Q11/1/2020
2020114aahs10Q11/1/2020
2020115pihs0Q11/1/2020
2020116sahs11Q11/1/2020
2020117eahs9Q11/1/2020
2020118cahs2Q11/1/2020
2020119aahs160Q11/1/2020
2020120pihs199Q11/1/2020
2020121sahs121Q11/1/2020
2020122eahs4Q11/1/2020
2020123cahs448Q11/1/2020
2020124aahs19Q11/1/2020
2020125pihs4Q11/1/2020

 

To give you a more accurate description of the data, when it's aggregated by month for one calendar year, you can see that each month has the total population of the state which changes each month (as people migrate in and out). However, when I try to use a matrix or visual I can't seem to stop it from using a calculation and it ends up summing the count which again inflates the total. 

yearMONTHpopulation
20201     5,267,026.00
20202     5,561,676.00
20203     5,461,072.00
20204     5,412,552.00
20205     5,419,980.00
20206     5,455,485.00
20207     5,460,272.00
20208     5,463,453.00
20209     5,466,835.00
202010     5,460,052.00
202011     5,420,165.00
202012     5,242,794.00

 

The goal is to look at migration patterns into and out of cities over months in a calendar year and other calendar years(I have two more years of data) by education level and demographic. If you have any ideas or examples I can look at please send them over. I'm currently not trying to do a spatial analysis, I want to use a matrix table and line charts. I haven't seen any exampels covering a topic or dataset like this. Thank you for any help/advice that you can give me. I had to anonymize the data, let me know if you have any questions.

1 REPLY 1
lbendlin
Super User
Super User

The goal is to look at migration patterns 

for that you need source and destination information, and a Sankey diagram or similar.

 

If you you only want to show the comings and goings per city you could think of using a waterfall visual and small multiples.

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.