Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

List dates between two dates

Hi all, I'm looking for a formula to list dates between 2 dates. Suppose I have the following example: Column A) InitialDate: 19/07/2019 Column B) EndDate: 19/10/2019 so, I would like to get as r...
  • ImkeF's avatar
    ImkeF
    6 years ago

    Hi Anonymous 

    you don't use it as a function. Then the "each" isn't ambigous any more.

    Try this for result instead:

    Result = List.Transform({0..NoOfIntervals}, (x) => Date.AddMonths([FROM], x))