Forum Discussion
Visualisations with slicers determined by specific date range - active employees
- 4 years ago
I have created one example for you see attached.
As you have more than one relationship on the date, you need a primary and inactive relationship, termination date is the inactive and you will see for the measure i use the userelationship function. I used countrows(employee) to count but you can just as well use distinctcount(employeeid) or whatever it is.
I have created one example for you see attached.
As you have more than one relationship on the date, you need a primary and inactive relationship, termination date is the inactive and you will see for the measure i use the userelationship function. I used countrows(employee) to count but you can just as well use distinctcount(employeeid) or whatever it is.
Thank you so much for this, Vanessa!
Very helpful to guide in the right direction.
I've managed to use this as the basis to make some of the other cards.
The one I'm struggling to make is the 'Voluntary' terminations the current year.
I tried adpating the Measure to:
This works perfectly for terminations without specifying the reason. However, when trying to specifiy the 'Voluntary' leavers in this way (specifically the Filter(Data,Data[Leave Reason]="Voluntary") element) it comes back blank.
Could you please help correct what I did wrong when trying to add a condition of 'Leave Reason' to the measure?
- vanessafvg4 years agoCommunity Champion
will have a look at bit later and get back to you.