Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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).
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
42 | |
31 | |
27 | |
27 |