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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tstraker
Frequent Visitor

Plotting workforce numbers over time

Hi All,

 

I need help plotting the total number of personnel working on my project over time (total personnel by month) over the year. 

 

I have a table called "PEOPLE" which contains all my project's personnel data:

  1. ID
  2. Name
  3. role
  4. start date
  5. end date
  6. isActive = Y/N
  7. etc etc

I have a date table containing date, month, quarter, year, monthsort from 2018-2025.

 

I want to visualize a stacked bar/line graph showing the following:

 

  1. Line - Total number of active personnel per month for 2018/2019
    • I'm thinking that I have to calculate the total number of [isActive] per month into a new column and then plot that as a line in the visual?
  2. Bar - Total number of new starters per month (using start date)
    • Would I create a relationship between People and Date tables by start date and then plot as a bar?
  3. bar - Total number of off-boarding per month (using end date)
    • Would I create another relationship between People and Date tables by end date? Or can I leverage the start date relationship above somehow?

See below mock up (the red line is obviously not accurate, I just put it in there for illustration purposes)

 

1.PNG

 

Thanks in advance

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tstraker ,

Current power bi not support direct analysis multiple date fields, you can consider to create a bridge table to expand all date ranges and link to variable table.

Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @tstraker ,

Current power bi not support direct analysis multiple date fields, you can consider to create a bridge table to expand all date ranges and link to variable table.

Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.