Forum Discussion

User068765's avatar
User068765
Frequent Visitor
4 years ago
Solved

Invalid date error: Resulting value falls outside the range of allowed values

Hello all,    I have an error relating to dates, which arises from an error in data provided by the user. The user had input 29 February for years which are not leap years. Is there a way to fix th...
  • Vijay_A_Verma's avatar
    Vijay_A_Verma
    4 years ago

    On the basis of sample provided by you - Use this formula in a custom column

    = try Date.From([Date]) otherwise Date.From(Text.Combine(List.ReplaceValue(Text.Split([Date],"/"),"29","28",Replacer.ReplaceValue),"/"))