Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Hope you are doing well and keeping safe!
I need the the advice on below scenario.
In my dataset, I have column " Manager Name" and employee I'd of their team under each manager. I want to calculate total number of employees under that manager. How to do this using dax.
Thanks in advance. Your help would be greatly appreciated.
@FreemanZ, Thanks for the replay. You can use above sample dataset.
I am looking for below result using calculated DAX,
ABC-4
XYZ-2
PQR - 3
hi @Farhana110 ,
just plot a table visual with manager column and a measure like:
measure = countrows(tablename)
hi, @Farhana110
create measure
result =
distinctcount('tablename'[employeeid column])
make table visual drag manager column and measure(result)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |