Justplainj
Board Regular
- Joined
- Apr 15, 2021
- Messages
- 50
- Office Version
- 365
- Platform
- Windows
Good day All,
I am trying to create a measure by dividing two columns (each from seperate tables).
Below is the DAX function I am using.
Trained Headcount = DISTINCTCOUNT('Training Data'[Identity Number])/COUNT(ConsEmployeeDetails[Emp Number])
The distinct count should count the amount of IDs of trained employees on the training data table. The count, counts the employee numbers on the main employee data sheet.
When I apply the functions separately it gives the correct numbers (1074 trained employees vs 1453 total employees) but using the above measure results in 100% instead of 73.91% which is 1074/1453.
What am I doing wrong?
Thanks
J
I am trying to create a measure by dividing two columns (each from seperate tables).
Below is the DAX function I am using.
Trained Headcount = DISTINCTCOUNT('Training Data'[Identity Number])/COUNT(ConsEmployeeDetails[Emp Number])
The distinct count should count the amount of IDs of trained employees on the training data table. The count, counts the employee numbers on the main employee data sheet.
When I apply the functions separately it gives the correct numbers (1074 trained employees vs 1453 total employees) but using the above measure results in 100% instead of 73.91% which is 1074/1453.
What am I doing wrong?
Thanks
J