Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 2 calcuated measures counting headcount from 2 systems phone and email
if an agent answered the phone I count the number of unique users per day, these agents also answere email or don't
if an agent replys to an email I count the number of unique users per day, these agaents also answer phones or don't
I need a 3rd measure to count how many total unique agents I have
so in this example my daily total head count should be 5
agent | phone | |
Bill | ||
Sue | 1 | 1 |
Jill | 1 | |
Joe | 1 | |
Jack | 1 | |
Rob | 1 | 1 |
currently I have
a call table
which has agent id, and call
an email table
which has agent id, and email
and an agent table to join the two
Solved! Go to Solution.
I imagine you want something similar to this:
HeadCount =
CALCULATE (
DISTINCTCOUNT ( Table1[agent] ),
FILTER ( Table1, NOT ( ISBLANK ( [phone] ) && ISBLANK ( [email] ) ) )
)
I imagine you want something similar to this:
HeadCount =
CALCULATE (
DISTINCTCOUNT ( Table1[agent] ),
FILTER ( Table1, NOT ( ISBLANK ( [phone] ) && ISBLANK ( [email] ) ) )
)
Yep. It doesn't count agents with both of those blank (I'm assuming that's why the count is 5 instead of 6 including Bill).
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |