iStore Info

This Blog to Store All Information Related to Oracle EBS Apps, Useful Applications, Latest Technology.

How to add days to date in power bi

Date.AddDays

Syntax

Date.AddDays(dateTime as any, numberOfDays as number) as any  

About

Returns the datedatetime, or datetimezone result from adding numberOfDays days to the datetime value dateTime.
  • dateTime: The datedatetime, or datetimezone value to which days are being added.
  • numberOfDays: The number of days to add.

Example 1

Add 5 days to the datedatetime, or datetimezone value representing the date 5/14/2011.
powerquery-m
Date.AddDays(#date(2011, 5, 14), 5)
#date(2011, 5, 19)