Forum Discussion
Farhana110
2 years agoFrequent Visitor
Dax
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.
4 Replies
- Dangar332
Resident Rockstar
hi, Farhana110
create measure
result = distinctcount('tablename'[employeeid column])make table visual drag manager column and measure(result)
- FreemanZ
Super User
- Farhana110Frequent Visitor
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
- FreemanZ
Super User
hi Farhana110 ,
just plot a table visual with manager column and a measure like:
measure = countrows(tablename)