Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, I would like to calculate using DAX, the number of users online at any one instant (by the minute). For example, if within 2-3pm,
User 1 logged in at 2pm and logged out at 3pm
User 2 logged in at 2.15pm and logged out at 230pm
User 3 logged in at 2.20pm and logged out at 235pm.
Then the result I would like to see is, at 2.45pm, there is 1 user online. At 2.17pm there are 2 users online.
My data set is as follows, I have the login and logout dates and times of each person.
Appreciate any help. Thanks
Same process as in my other reply, just with minute level granularity rather than hour level. So instead of 24 buckets you have to deal with 1440 buckets per day.
Ideally you want to combine the date and time for each event before multiplying by 1440.