Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31410

Get First Datetime and Last datetime

$
0
0

Hi,

 

I am having a challenge with PowerQuery. I have Activity-wise details, I have to find the Login & Logout from those activities. The first time registered in login and the last time registered is logout within that date. 

 

I tried with an approach of first grouping the data with Employee name and Date. But that is where I am stuck.

 

Example: Below is the grouped data and in the same screenshot raw data is there in table.  From this screenshot employee login will be 10/4/2024 3 AM and logout will be 10/4/2024 5 AM.

 

Sample data - https://docs.google.com/spreadsheets/d/1gKxpcn6-lXejQt_pIew7irDKvf6yMbdH92YbsgT27zc/edit?usp=sharing

 

Sri_phani_1-1728485327039.png

 

Thanks in advance. 

 

 


Viewing all articles
Browse latest Browse all 31410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>