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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Matt_T
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.

 

Matt_T_0-1718365064312.png

 

 

I'd like to showcase this data in a chart where I'd be able to see the concurrent users at a specific hour.
Example:
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!

1 ACCEPTED SOLUTION
Matt_T
Regular Visitor
2 REPLIES 2
Matt_T
Regular Visitor
lbendlin
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 https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

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

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors