Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create Custom Column based on specific combinations of values from another column

Hello, How can a new Task Status column be created based on the table and criteria below: Task Region Country Task Status NEW DESIRED COLUMN 1 EMEA Finland Complete In Progress 1 E...
  • wdx223_Daniel's avatar
    4 years ago

    = Table.Group(Source,{"Task","Region"},{"Task Status",each let a=List.Distinct([Task Status]) in if a{1}?=null then a{0} else "In Progress"})