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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.