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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
OldDogNewTrick
New Member

Very new to Power BI and while I find similar answers I can't translate them to my problem

Trying to pull data from Salesforce: Login History Object

 

I want to pull the earliest login time for each day, per UserID.  The attachement includes the actual data and you can see there are multiple datetime entries per UserID.  I have limited this to three unique USERID and two weeks of login.

 

Any help or guidance would be greatly appreciated.

 

UserID and Login Data 

 

UserIdLoginTime
0050B000006kzcIQAQ3/2/2025 23:03
0050B000006kzcIQAQ3/3/2025 14:52
0050B000006kzcIQAQ3/3/2025 15:06
0050B000006kzcIQAQ3/3/2025 15:06
0050B000006kzcIQAQ3/3/2025 15:08
0050B000006kzcIQAQ3/4/2025 1:40
0050B000006kzcIQAQ3/4/2025 14:36
0050B000006kzcIQAQ3/4/2025 14:37
0050B000006kzcIQAQ3/4/2025 14:37
0050B000006kzcIQAQ3/4/2025 14:37
0050B000006kzcIQAQ3/4/2025 14:37
0050B000006kzcIQAQ3/4/2025 18:46
0050B000006kzcIQAQ3/4/2025 18:46
0050B000006kzcIQAQ3/6/2025 16:14
0050B000006kzcIQAQ3/6/2025 16:15
0050B000006naKlQAI3/3/2025 19:05
0050B000006naKlQAI3/3/2025 19:36
0050B000006naKlQAI3/3/2025 19:36
0050B000006naKlQAI3/3/2025 21:59
0050B000006naKlQAI3/3/2025 22:05
0050B000006naKlQAI3/3/2025 22:17
0050B000006naKlQAI3/3/2025 22:34
0050B000006naKlQAI3/4/2025 0:11
0050B000006naKlQAI3/4/2025 0:32
0050B000006naKlQAI3/4/2025 2:54
0050B000006naKlQAI3/4/2025 14:00
0050B000006naKlQAI3/4/2025 14:13
2 ACCEPTED SOLUTIONS
Deku
Super User
Super User

Duplicate datetimes

Set one to date and the other to time

Group by userID and date, take min time

Combine date and time


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

v-csrikanth
Community Support
Community Support

Hi @OldDogNewTrick 
In addition to @Deku Please find the attached PBIX file which meets your requirement.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.

Best Regards,
Community Support Team _ C Srikanth.




View solution in original post

3 REPLIES 3
OldDogNewTrick
New Member

Thank you both for the help!  I appreciate the fast response.

v-csrikanth
Community Support
Community Support

Hi @OldDogNewTrick 
In addition to @Deku Please find the attached PBIX file which meets your requirement.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.

Best Regards,
Community Support Team _ C Srikanth.




Deku
Super User
Super User

Duplicate datetimes

Set one to date and the other to time

Group by userID and date, take min time

Combine date and time


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.