Forum Discussion

JesseV's avatar
JesseV
Frequent Visitor
4 years ago
Solved

Replacevalue after comparing date type collumn value with current date

Good afternoone everyone    Me (a noobie to PowerBI) would like to add a powerquery step to the following example data:   Resultaatteken Geldig tm X 25/02/2020 @ null X 22/10/2030...
  • Icey's avatar
    Icey
    4 years ago

    Hi JesseV ,

     

    You can try to use DateTime.Date function.

    = Table.ReplaceValue(#"Changed Type with Locale", each [Resultaatteken], DateTime.Date(DateTime.LocalNow()),Replacer.ReplaceValue,{ "Resultaatteken"})

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.