Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
I have a data set that references the employees in two columns. But I need to compare them. When I conduct a count formula, to distinguish the number of cases assigned by an employee and the number of cases scheduled by an employee, the numbers are always identical. Here is what the data looks like. How do count how many ID's have been scheduled by an employee and how many ID's have been assigned by an employee?
Solved! Go to Solution.
HI @Anonymous,
You can try to use the following measure formula to calculate the field aggregated based on current employee group:
#Assigned by =
CALCULATE (
COUNT ( 'Interpreter usage report'[Assigned by.1] ),
ALLSELECTED ( 'Interpreter usage report' ),
VALUES ( 'Interpreter usage report'[Employee] )
)
#Scheduledby =
CALCULATE (
COUNT ( 'Interpreter usage report'[Scheduled by.1] ),
ALLSELECTED ( 'Interpreter usage report' ),
VALUES ( 'Interpreter usage report'[Employee] )
)
Regards,
Xiaoxin Sheng
HI @Anonymous,
You can try to use the following measure formula to calculate the field aggregated based on current employee group:
#Assigned by =
CALCULATE (
COUNT ( 'Interpreter usage report'[Assigned by.1] ),
ALLSELECTED ( 'Interpreter usage report' ),
VALUES ( 'Interpreter usage report'[Employee] )
)
#Scheduledby =
CALCULATE (
COUNT ( 'Interpreter usage report'[Scheduled by.1] ),
ALLSELECTED ( 'Interpreter usage report' ),
VALUES ( 'Interpreter usage report'[Employee] )
)
Regards,
Xiaoxin Sheng
Sorry for the delay, but that did not resolve my issue. The numbers are inaccurate.
Here is what the table looks like when I try to put the measures in the same visual...
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 42 | |
| 30 | |
| 24 |