on 10-10-2019 2:09 PM
Hello all,
I have a employee table with EMPID,Date(Hire,Termdate).
How to get Active employees, New Hires,,avg tenure months from employee table in SAC.
For Eg Number of employees we will use calculated Editor and aggregate the Dimension.
I am not getting, where to write the formulas for Active employees and ......
Thanks
Vaman
Hi Vaman,
You can create a calculated dimension in the story (or even in the model if you use an import scenario) to 'flag' whether an employee is active, by using an IF function combined with ISNULL.
Kind regards,
Martijn van Foeken | Interdobs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Thanks for the reply,
Yes we will use if condition in that calculation dimension,
generally we will write condition like IF(ISNULL([d/"HR_schema":TermDate]),"Inactive" ,"Active")
Am i right? if not please correct me.
In PowerBi we use like Active Employees:=CALCULATE([EmpCount],FILTER('HR Data',ISBLANK('HR Data'[TermDate])))
Thanks
Vaman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.