Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
eugee123
New Member

Knowing number of users online at any 1 time

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.

 

eugee123_0-1627981622623.png

 

Appreciate any help. Thanks

1 REPLY 1
lbendlin
Super User
Super User

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.