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
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)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |