Forum Discussion

Ronald123's avatar
Ronald123
Resolver III
8 years ago
Solved

Count experation days

  Hello,   I'm looking for a measure for the follow issue.   I need the difference of total days between de exparation date and the selected date in the slicer. In the model there's isn't an re...
  • Zubair_Muhammad's avatar
    8 years ago

    Ronald123

     

    Try this MEASURE

     

    =
    DATEDIFF (
        SELECTEDVALUE ( Calendar[Date] ),
        SELECTEDVALUE ( Invoices[ExperationDate] ),
        DAY
    )