Forum Discussion
Active Employees per Period
- 9 years ago
Thank you for the advice. I tried it and do not get the correct result, either. What I do get is the number of employees, who left in a specific period (e.g. month).
As I have to deliver the report today, I resolved to take a different approach, showing the number of joiners, leavers and overall evolution of active personnel as in the chart below.
rl_evans Thanks for digging into this - it's a trickier one to reoslve than I first thought!
I've tried the formula you suggested, but this still doesn't allow me to filter using the chart unfortunately.
I've also tried replicating what you have by removing my relationship with [Last Modified Date] and the [Date] in my Date Table, then making the relationship between [Approved Date] and [Date] active. I've then used your original formula. The chart looks fine, but when I seect a month in the chart to filter by, all my rows come up blank (see screenshot below).
Are you able to successfully filter for the relevant employees active in the period using you chart?
rl_evans I assume the filtering not working is due to the fact that if I'm selecting a particular month, and the relationship between [Approved Date] and [Date] is active, then I'm just filtering the data for all [Approved Dates] in that month. The filter doesn't take into account the measure at all.
- Anonymous7 years agoNot applicable
rl_evans I've done a bit of testing and this does seem to be the case
- rl_evans7 years agoHelper II
Anonymous - That goes back to any visual that is counting active requisitions needs to be based on a calculation that can ignore the date context (when there is an active relationship between date and ApprovedDate.