Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have the the following data :
| response_timestamp | id | status | infos |
| 26/10/2023 4:30 PM | 1 | active | ... |
| 26/10/2023 4:31 PM | 2 | inactive | ... |
| 26/10/2023 4:33 PM | 3 | active | ... |
I would like to keep the minimum response_timestamp but can't figure out the M code to do so. I have calculated the minimum with List.min() function but don't know how to assign it to a new column...
The expected result would be :
| response_timestamp | min_response_timestamp | id | status | infos |
| 26/10/2023 4:30 PM | 26/10/2023 4:30 PM | 1 | active | ... |
| 26/10/2023 4:31 PM | 26/10/2023 4:30 PM | 2 | inactive | ... |
| 26/10/2023 4:33 PM | 26/10/2023 4:30 PM | 3 | active | ... |
Solved! Go to Solution.
Hi @Anonymous
= Table.AddColumn(#"PreviousStepName", "Min_response_timestamp", each List.Min(Table[response_timestamp]))
Hi @Anonymous
= Table.AddColumn(#"PreviousStepName", "Min_response_timestamp", each List.Min(Table[response_timestamp]))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 5 | |
| 3 |