Hi in regards to this code, how does this calculate the number of sessions, is it by the timestamp as per summarise line? I am just figuring out how exactly it knows when a new session starts (client_session_start is triggered again)? How would we know a player is not in the same session and in fact it is different?
['events.all'] | where FullName_Name == "client_session_start" | project format_datetime(Timestamp,'yyyy-MM-dd'),Entity_Id,FullName_Name | summarize PlayerNum=dcount(Entity_Id), SessionNum=count() by Timestamp | extend AverageSession=SessionNum/PlayerNum