Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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 | LoginTime |
0050B000006kzcIQAQ | 3/2/2025 23:03 |
0050B000006kzcIQAQ | 3/3/2025 14:52 |
0050B000006kzcIQAQ | 3/3/2025 15:06 |
0050B000006kzcIQAQ | 3/3/2025 15:06 |
0050B000006kzcIQAQ | 3/3/2025 15:08 |
0050B000006kzcIQAQ | 3/4/2025 1:40 |
0050B000006kzcIQAQ | 3/4/2025 14:36 |
0050B000006kzcIQAQ | 3/4/2025 14:37 |
0050B000006kzcIQAQ | 3/4/2025 14:37 |
0050B000006kzcIQAQ | 3/4/2025 14:37 |
0050B000006kzcIQAQ | 3/4/2025 14:37 |
0050B000006kzcIQAQ | 3/4/2025 18:46 |
0050B000006kzcIQAQ | 3/4/2025 18:46 |
0050B000006kzcIQAQ | 3/6/2025 16:14 |
0050B000006kzcIQAQ | 3/6/2025 16:15 |
0050B000006naKlQAI | 3/3/2025 19:05 |
0050B000006naKlQAI | 3/3/2025 19:36 |
0050B000006naKlQAI | 3/3/2025 19:36 |
0050B000006naKlQAI | 3/3/2025 21:59 |
0050B000006naKlQAI | 3/3/2025 22:05 |
0050B000006naKlQAI | 3/3/2025 22:17 |
0050B000006naKlQAI | 3/3/2025 22:34 |
0050B000006naKlQAI | 3/4/2025 0:11 |
0050B000006naKlQAI | 3/4/2025 0:32 |
0050B000006naKlQAI | 3/4/2025 2:54 |
0050B000006naKlQAI | 3/4/2025 14:00 |
0050B000006naKlQAI | 3/4/2025 14:13 |
Solved! Go to Solution.
Duplicate datetimes
Set one to date and the other to time
Group by userID and date, take min time
Combine date and time
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.
Thank you both for the help! I appreciate the fast response.
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.
Duplicate datetimes
Set one to date and the other to time
Group by userID and date, take min time
Combine date and time
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
32 | |
31 | |
20 | |
15 | |
13 |
User | Count |
---|---|
18 | |
18 | |
16 | |
10 | |
9 |