Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create a collumn that calculates the difference between a specific date and today

Hello! I have a visualization table that has the name and date of an error. Besides that, there is also another important data, the Status, it tells you if this case/error is closed, open, in progre...
  • amitchandak's avatar
    4 years ago

    Anonymous , You can hide time using format. But that means time stamp is still there.

     

    Better to have a new column in dax

     

    = Datevalue([Datetime])

  • v-kkf-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Please try the measure.

     

    Datediff = 
    CALCULATE (
        DATEDIFF ( MAX ( 'Page 1'[Created] ), TODAY (), DAY ),
        FILTER ( 'Page 1', 'Page 1'[Status] = "Awaiting" )
    )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.