Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table and would like to see distinctcount of employee ID's by month. I tried DistinctCount but it gave me the same values across all months.
Name | Emp ID | Dept | Sub | OT hours | Month |
Employee 1 | 234 | A | A1 | 4 | Jan |
Employee 2 | 235 | B | A2 | 8 | Feb |
Employee 3 | 236 | C | A3 | 9 | Mar |
Employee 1 | 234 | A | A1 | 12 | April |
Employee 2 | 235 | B | A2 | 10 | Mar |
Employee 3 | 236 | C | A3 | 11 | Feb |
Employee 1 | 234 | A | A1 | 1 | Mar |
Employee 2 | 235 | B | A2 | 2 | April |
Employee 3 | 236 | C | A3 | 3 | Mar |
Employee 4 | 237 | D | A4 | 3 | Jan |
Employee 1 | 234 | A | A1 | 3 | Feb |
Employee 2 | 235 | B | A2 | 2 | Mar |
Employee 3 | 236 | C | A3 | 1 | April |
Employee 4 | 237 | D | A4 | 1 | Jan |
Solved! Go to Solution.
User | Count |
---|---|
103 | |
87 | |
77 | |
70 | |
69 |
User | Count |
---|---|
113 | |
99 | |
97 | |
72 | |
68 |