Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am trying to create a bar chart showing quarterly headcount projections. I have a table which combines both curent staff and open requisitions. I have the hire date for current staff and the target hire date for requisitions in the same [Hire Date] field. I also have a designation on each row of "Budgeted" or "Not Budgeted" in the [Budget Status] column. I'm struggling with how to get a running total of projected staff for each quarter. It should be current staff plus requisitions where the [Hire Date] is <= quarter end (3/31/21, 6/30/21, 9/30/21, 12/31/21). Would any of you geniuses be able to help me with this?
Thanks!
Stacey
Solved! Go to Solution.
Hi @StaceyG,
Try this measure:
Running Headcount =
CALCULATE (
SUM ( Headcount[Count] ),
FILTER (
ALLSELECTED ( Headcount ),
Headcount[Hire Date] <= MAX ( Headcount[Hire Date] )
)
)
Sample data:
Proud to be a Super User!
Hi @StaceyG,
Try this measure:
Running Headcount =
CALCULATE (
SUM ( Headcount[Count] ),
FILTER (
ALLSELECTED ( Headcount ),
Headcount[Hire Date] <= MAX ( Headcount[Hire Date] )
)
)
Sample data:
Proud to be a Super User!
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |