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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
- Attempting to measure the durration a user is logged in
Here is the dataset:
- Filtering by a date range, I am attempting to measure how long users are logged IN.
- I started out by created two new columns, TimeLoggedIn, and TimeLoggedOff:
- Then I created a new MEASURE:
TotalTimeLoggedIn = DATEDIFF('public callcent_ag_queuestatus'[TimeLoggedOff], 'public callcent_ag_queuestatus'[TimeLoggedIn],HOUR)- Measure does not work, here is the error:
"A single value for column 'TimeLoggedOff' in table 'public callcent_ag_queuestatus' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
Thank you in advance for your help.
Hi,
Share the link from where i can download your file.
Hi,
I cannot understand yoru question. How have you computed timeloggin and timeloggedoff? Also, please show the exact result that you are expecting for each agent_num.
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!