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
Anonymous
Not applicable

Concurrent Usage by Month

I am trying to create a report that shows concurrent usage for one of our systems. We're only capturing session start times at the moment which means that we're having to add a variable to create what we think an average session lasts.


What I am struggling with is showing a distinct count of users in 20 minute intervals per day and month. If a user logged into the system at 10:30am, but then logged in again within a 20 minute window I only want to capture them once. I've tried grouping the data into intervals and adding a distinctcount but so far I've had no luck.

 

My data is setup as followed;

- Monthly Login Data - This shows all sessions with user details for each datetime

- Calendar - This is set up using a calculated table that looks at the minimum and maximum dates and times, and then also counts the minimum and maximum logins using this formula. =CALCULATE(COUNTA('Monthly Login View'[EmailAddress]),FILTER('Monthly Login View',AND([LoginDateTime]<=MAX('Calendar'[Date]),'Monthly Login View'[LogoutDateTime]>MAX('Calendar'[Date]))))


Is anyone able to advise of a way to go about this by either adding logic to the data I already have or by taking a new approach?

 

Thanks

1 REPLY 1
PattemManohar
Community Champion
Community Champion

@Anonymous Sample data and expected output will be really helpful to provide any suggestion.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




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.