Forum Discussion

Cocrodile's avatar
Cocrodile
Helper I
4 years ago
Solved

Date blank

Hello I have this table :   Can I ask you for a function that puts me where the empty values are on the last day of that week? I would like to have the results of the 2 dates: date in  22/...
  • Cocrodile's avatar
    4 years ago

    The solution in power query  is : 

    if [date out]=null then Date.EndOfWeek ([date in ],Day.Sunday) else [date out])

    🤣