Forum Discussion
Vishal7012
3 years agoRegular Visitor
Resignation count
Hi, I'm trying to get the count of employees who are serving notice period as of today from the database. Primarily, if the last working date of an employee is beyond today, it should count as th...
- Anonymous3 years ago
oh my bad
Count =VAR _table = SUMMARIZE(FILTER('Table','Table'[Last Working date] <>BLANK()),'Table'[Employee Id],"Terminated",[Terminated])ReturnCOUNTROWS(FILTER(_table,[Terminated] = "Yes"))
Vishal7012
3 years agoRegular Visitor
Thanks. There is a syntax error i'm getting while i use the count DAX wherein i'm unable to get the "terminated". Just doesnt seem to identify
Calculate(distinctcount([terminated column]),terminated = "yes")
Anonymous
3 years agoNot applicable
oh my bad
Count =
VAR _table = SUMMARIZE(FILTER('Table','Table'[Last Working date] <>BLANK()),'Table'[Employee Id],"Terminated",[Terminated])
Return
COUNTROWS(FILTER(_table,[Terminated] = "Yes"))
- Vishal70123 years agoRegular Visitor
thanks, this works!