Retrieve the number of hours from a given duration value by utilizing the Power Query function MDuration.Hours. For example, when applying this function to a duration value of 5 days, 4 hours, 3 minutes, and 2 seconds (#duration(5, 4, 3, 2)), the output will be 4 hours.