Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |