Forum Discussion
Anonymous
4 years agoNot applicable
How do i solve for Employee Count is linked to Department, Section and Sub Section
Hi Guys, i need help as you can see the Total Actual for every row is the same 3606. Is there any way to solve it where the figures is according to the department, section and subsection just l...
- 4 years ago
Hi Anonymous ,
The mostly is the relationship between these table. you should make sure that these tables have active relationship between them, then you can just use the measure which looks like you provided.
Or please modify the measure like the code below:
MJK Employee Count = COUNTROWS( FILTER( ALL( 'MJK Total Employees' ), 'MJK Total Employees'[Department] = SELECTEDVALUE( 'this table Employees'[Department] ) && 'MJK Total Employees'[Section] = SELECTEDVALUE( 'this table Employees'[Section] ) && 'MJK Total Employees'[Sub Section] = SELECTEDVALUE( 'this table Employees'[Sub Section] ) ) )The link to your pbix is not accessible.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hey,
as mentioned "
For the Total Actual column is taken from another excel file. What i did for Total Actual is input DAX formula:
MJK Employee Count = (COUNTROWS('MJK Total Employees'))"
Please share the model for this that you have in place.
If MJK Total EMployees is not filtered by department, section, subsection then this would also not reflect in the table.
Please share the model for this that you have in place.
If MJK Total EMployees is not filtered by department, section, subsection then this would also not reflect in the table.
- Anonymous4 years agoNot applicable
2 Excel files:
PBI Report
https://drive.google.com/file/d/1-7wkA8geVHPi3ZsUG9gpS21a5lB81tKd/view?usp=sharing
Look at the table sheet and the model tab