Forum Discussion
Anonymous
8 years agoNot applicable
PowerBI maximum Concurrent Callers - Stats DAX
Hi please can you help, i have data that has a call start date and time Time_of_connection Time_of_Disconnection in Date/ Time format I also have a User_ID field; i need to calculate...
v-yulgu-msft
Microsoft Employee
8 years agoHi Anonymous,
There is no need to create a relationship between DataTable1 and calendar table.
Regards,
Yuliana Gu
Anonymous
8 years agoNot applicable
hi @v-yulgu-msft
without a relationship it doesnt calculate anything at all. with a relationship it doesnt calculater correctly:(
this is the atcual formula im using;
Count Measure =
CALCULATE (
COUNTA(data[callingPartyUnicodeLoginUserID] ),
FILTER (
Data,
SELECTEDVALUE ( 'Calendar'[Date] ) >= data[Time of Connection]
&& SELECTEDVALUE ('Calendar'[Date]) <= Data[Time of Disconnection]
)
)