DATEDIFF for POWER QUERY This article gives you the M Code for Power Query to return the result of the DATEDIFF function (difference between 2 dates)