Forum Discussion
How do i solve for Employee Count is linked to Department, Section and Sub Section
- 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 , Not very clear.
You can create a new column
Total Actual = 3606
Based on the above image, under the sub section 2F cutting, the total plan is 116, whereas the total actual is 3606. There should be 100+ of workers under this 2F and 20 workers under 2F distribution.
If you see the table clearly, the value of 3606 appears the same for every subsection. Therefore, i want to know is there a way to solve it.