This function retrieves the number of days from a specified duration.
Syntax
Duration.Days(duration as nullable duration) as nullable number
About
This function retrieves the number of days from a specified duration.
Explanation
Calculate the difference in days between two specified dates using the Power Query function MDuration.Days. In this example, the difference between March 4, 2022, and February 25, 2022, is 7 days.