Forum Discussion
Anonymous
3 years agoNot applicable
DAX formula for Attrition Rate
Hi experts,
Need to create Attrition Rate formula for HR dashboard
Please help
Hi Anonymous ,
create a measure :Attrition Rate % =VAR __BASELINE_VALUE = SUM('Table'[No. of Emp That Left During Period])VAR __VALUE_TO_COMPARE = AVG('Table'[No. of Emp for Period])RETURNIF(NOT ISBLANK(__VALUE_TO_COMPARE),DIVIDE(__VALUE_TO_COMPARE - __BASELINE_VALUE, __BASELINE_VALUE) *100)Thanks,
Please mark this as the column if you found it helpful.
2 Replies
- pratyashasamal
Memorable Member
Hi Anonymous ,
create a measure :Attrition Rate % =VAR __BASELINE_VALUE = SUM('Table'[No. of Emp That Left During Period])VAR __VALUE_TO_COMPARE = AVG('Table'[No. of Emp for Period])RETURNIF(NOT ISBLANK(__VALUE_TO_COMPARE),DIVIDE(__VALUE_TO_COMPARE - __BASELINE_VALUE, __BASELINE_VALUE) *100)Thanks,
Please mark this as the column if you found it helpful. - Ashish_Mathur
Super User
Hi,
Share some data to work (in a format that can be pasted in an MS Excel file.) with and show the expected result.