Forum Discussion
Anonymous
3 years agoNot applicable
How to solve two dates with the same Status Name
Hi Newbie here,
I have this data and i want to pivot the Status to become the column and the status start date as their values however there are status that has two dates. How do I solve this so once i pivot only one date will be captured and should the be earlier dates
| Vacancy Reference | Company | Main Recruiter | Status | Status Start Date |
| 14465 | Company A | JB | Offer Accepted (On Boarding Forms In Progress ) | 01/02/2022 |
| 14465 | Company A | JB | Offer Accepted ( Form Completed ) | 01/02/2022 |
| 14465 | Company A | JB | Offer Awaiting Applicant Decision | 01/02/2022 |
| 14465 | Company A | JB | Preparing Candidate Offer | 31/01/2022 |
| 14465 | Company A | JB | Offer Authorising | 31/01/2022 |
| 14465 | Company A | JB | Offer Approved | 31/01/2022 |
| 14465 | Company A | JB | Incomplete | 30/10/2021 |
| 14465 | Company A | JB | Preparing Candidate Offer | 31/01/2022 |
| 14465 | Company A | JB | Pipeline Candidate | 17/11/2021 |
| 14465 | Company A | JB | Hired | 01/02/2022 |
| 14465 | Company A | JB | Hired (no export) | 17/12/2021 |
| 14465 | Company A | JB | New | 31/10/2021 |
| 14465 | Company A | JB | New | 30/10/2021 |
| 14465 | Company A | JB | Offer Accepted | 01/02/2022 |
| 14465 | Company A | JB | Offer Accepted | 16/12/2021 |
7 Replies
- wdx223_DanielCommunity Champion
NewStep=Table.Pivot(PreviousStepName,List.Distinct(PrevousStepName[Status]),"Status","Status Start Date",List.Min)
- AnonymousNot applicable
wdx223_Daniel ,Hi - Thank you but it seems did not work, it captured the older dates
Pivoted
Original- wdx223_DanielCommunity Champion
the data type of "Status Start Date" is real Date?