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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Regular Visitor

Calculate Activity based on logon-logoff times

Hi all!
I'm trying to put together a server load map based on logon and logoff times from an extract.
I have two columns with date/time data storing the login and logoff times for users, and also a user ID for defining each user.





I'd like to showcase this data in a chart where I'd be able to see the concurrent users at a specific hour.
Case A: If a user logged on at 08:00:00 and logged off at 16:00:00 I'd like for him to have an entry for all of the hours inbetween.

Case B: If a user logged on at 08:00:00 but logged off at 10:00:00, I'd like for him to only show up during this timeframe.

I've already set up some slicers for filtering on days, so that the visuals would be understandable, but I'm unable to come up with a solution on how to extract this data from my dataset and to visualize it.
I have an idea to convert the current table into another with "Hour" and "Active users" at that specific time for all hours of all days in the dataset, but I'm unsure about how to go forwards with this.

Your help/input is deeply appreciated!

Regular Visitor
Regular Visitor
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to

Please show the expected outcome based on the sample data you provided.

Want faster answers?

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors