Forum Discussion
Need help with Position Changes DAX formula
I have a historical table that brings in employee data each month. This means the same employee can have multiple records in the table. I am trying to write a DAX measure that looks at the employee's latest position record. I would like to use this measure to create a position headcount visual. The measure below seems to get me the right headcount for the selected position but it does not allow me to use any other filters in the table
4 Replies
- parry2kSuper User
Karla_hernandez there are so many posts on doing the head count. did you take the time to search for it and see if existing solution will work for you?
- Karla_hernandezNew Member
Yes I have been searching for a solution for over a week now. I have a seperate headcount report that calculates headcount based on an employees single record
In this case I want to account for any position changes an employee has had and only want to include in the count the employees latest record. For example, In june an employee may be in X position and they should be included in the X position headcount for June but in July that employee moved to Y position and should now be included in the Y positon for July headcount.
- parry2kSuper User
Karla_hernandez I'm tagging Greg_Deckler and I believe he already solved it many times.
- Karla_hernandezNew Member
Thanks! I will keep searching for an answer in the meantime