Forum Discussion

osama_ayoub's avatar
osama_ayoub
Helper III
3 years ago
Solved

create conditional column where value exist between 2 whole number

how can I create conditional column based on column Division where if the value between 0 and 1 put value 1 and if the value between 2 and 3 put value 3 and so on ?

 

  • NewStep=Table.AddColumn(PreviousStepName,"Custom",each Number.RoundUp([Division]))

1 Reply

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Community Champion

    NewStep=Table.AddColumn(PreviousStepName,"Custom",each Number.RoundUp([Division]))