Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Newbie challenge

Hi,   As a PQ newbie I can't solve this simple transformation. The data structure is very simple and obvious for a human. However, PQ can't seem to be able to figure it out with "column from exampl...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Simple for a human isn't necessarily simple for a machine...

     

    You can add a column like


    = Table.AddColumn(PriorStepOrTableName, "Dates", each if Text.Contains([Date], "-") then null else [Date], type text)

     

    Now you can just use Fill Down on the new column.

     

    --Nate