Forum Discussion

Hepworthnot's avatar
Hepworthnot
Frequent Visitor
4 years ago
Solved

Dates in column not showing when apply DateAdd function

Hi,   I am trying to add either 0 or 1 days to a date depending on the content of the column called Offset.   Here is the formula:   NewColumn = DATEADD('TableName'[DateUTC],[Offset],day)   ...
  • v-yalanwu-msft's avatar
    4 years ago

    Hi, Hepworthnot ,

    According to the offical document, The following formula calculates dates that are one day before the dates in the current context.

    If you want display every value. you could try it.

    NewColumn = 
    [DateUTC]+[Offset]

    The final show:


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.