Forum Discussion
Employee head Count and Slicers
- 2 years ago
i think you should not count date. You should distinct count something like employee ID or employee name
If you don't want the duplicated users, then you can use DISTINCTCOUNT to remove duplicates.
thank you
I was able to get the employee head count for months and it works, this formula also does the average for quarter and yearly..seems to be working.
- ryan_mayu2 years ago
Super User
can we create a calucated column for that age group?
- NickSirTek2 years agoFrequent Visitor
so I have a calculated colum called Age group and a column that has ages
the formula is:Age Groups =IF ( [Age] <= 19 && [Age] >= 0 , "< 20 Years",IF ( [Age] <= 29 && [Age] >= 20 , "20 to 29 Years",IF ( [Age] <= 39 && [Age] >= 30, "30 to 39 Years",IF ( [Age] <= 49 && [Age] >= 40, "40 to 49 Years",IF ( [Age] >= 50, "50 > Years","")))))
I attached a screenhot of the calculated column with the required information.To display it, I greated a bar chart and here is the info for that
if I select y-axis to show distinct count it shows 1 count for each age group.
- ryan_mayu2 years ago
Super User
i think you should not count date. You should distinct count something like employee ID or employee name