Forum Discussion

AtchayaP's avatar
AtchayaP
Helper V
4 years ago
Solved

powerbi

  These are my tables,  Table 1--- skills- > employees have multiple skills, Development item---> Focussed to do in future. In Table 2 and Table 3, you can see there is a relation from Table 1 SKIL...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi AtchayaP ,

     

    I think you can try this code to create a measure to calcualte [Count of Employees from table 1].

    Count of employees from table 1 = IF(HASONEFILTER('Table 3'[Employee name]),BLANK(),DISTINCTCOUNT('Table 1'[Employee]))

    Result is as below.

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.