Forum Discussion

n2p2gupta's avatar
n2p2gupta
Frequent Visitor
9 years ago
Solved

DATEADD function not returning row values more then 10 rows

DATEADD function not returning all the row under "column". Please help. Thanks.

 

 

 

  • Hi there,

     

    Happy to help. This is super curious...it should definitely return the value for ALL rows. However there is another way to write the formula. This one below should work.

     

    Column = Table1[Date] + 5

    Reid Havens - Principal Consultant

    PowerPivotPro

4 Replies

  • Reid_Havens's avatar
    Reid_Havens
    Most Valuable Professional

    Hi there,

     

    Happy to help. This is super curious...it should definitely return the value for ALL rows. However there is another way to write the formula. This one below should work.

     

    Column = Table1[Date] + 5

    Reid Havens - Principal Consultant

    PowerPivotPro

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    n2p2gupta

    The documentation says this behavior is by design.


     The result table includes only dates that exist in the dates column.

     

    So when adding 5 days to “May 31,2017", it is "Jun 5, 2017" which doesn't exist in the date column.

     

    You'll use Reid_Havens suggestion as a workaround.