Forum Discussion
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:
- ID
- Name
- role
- start date
- end date
- isActive = Y/N
- 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:
- 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?
- 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?
- 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)
Thanks in advance
- Anonymous7 years ago
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
1 Reply
- AnonymousNot 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