Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |