Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

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 ReferenceCompanyMain RecruiterStatusStatus Start Date
14465Company AJBOffer Accepted (On Boarding Forms In Progress )01/02/2022
14465Company AJBOffer Accepted ( Form Completed )01/02/2022
14465Company AJBOffer Awaiting Applicant Decision01/02/2022
14465Company AJBPreparing Candidate Offer31/01/2022
14465Company AJBOffer Authorising31/01/2022
14465Company AJBOffer Approved31/01/2022
14465Company AJBIncomplete30/10/2021
14465Company AJBPreparing Candidate Offer31/01/2022
14465Company AJBPipeline Candidate17/11/2021
14465Company AJBHired01/02/2022
14465Company AJBHired (no export)17/12/2021
14465Company AJBNew31/10/2021
14465Company AJBNew30/10/2021
14465Company AJBOffer Accepted01/02/2022
14465Company AJBOffer Accepted16/12/2021

 

 

 

7 Replies

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Community Champion

    NewStep=Table.Pivot(PreviousStepName,List.Distinct(PrevousStepName[Status]),"Status","Status Start Date",List.Min)

    • Anonymous's avatar
      Anonymous
      Not applicable

      wdx223_Daniel ,Hi - Thank you but it seems did not work, it captured the older dates 
      Pivoted


      Original